public:problem_solving_challenge_2015:main
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
public:problem_solving_challenge_2015:main [2015/10/28 17:04] – created davidthue | public:problem_solving_challenge_2015:main [2024/04/29 13:33] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
======Game AI Problem Solving Challenge, Fall 2015 ====== | ======Game AI Problem Solving Challenge, Fall 2015 ====== | ||
+ | **Design & Code: [[http:// | ||
+ | |||
=====Introduction===== | =====Introduction===== | ||
Artificial Intelligence (AI) is an important part of many computer games, where it's often used to create dynamic challenges for players to overcome. In this problem solving task, your objective is to create an AI controller for a space ship in a simple 2D game. Survive for as long as you can by dodging incoming hazards, and earn a high score in Challenge Mode by shooting asteroids along the way. Welcome to Code Ship. | Artificial Intelligence (AI) is an important part of many computer games, where it's often used to create dynamic challenges for players to overcome. In this problem solving task, your objective is to create an AI controller for a space ship in a simple 2D game. Survive for as long as you can by dodging incoming hazards, and earn a high score in Challenge Mode by shooting asteroids along the way. Welcome to Code Ship. | ||
- | {{ : | + | {{ : |
=====Getting Oriented===== | =====Getting Oriented===== | ||
Line 96: | Line 97: | ||
Loops are almost identical to C & C++; the only difference is that you don't need to declare your variables in ' | Loops are almost identical to C & C++; the only difference is that you don't need to declare your variables in ' | ||
- | // print out the grid along row 0: | + | // print out the grid (the upper left corner is 0, 0) |
- | for(i = 0; i < 5; i++) | + | |
+ | output = ""; | ||
+ | for(j = 0; j < 7; j++) | ||
{ | { | ||
- | | + | |
+ | { | ||
+ | output = output + grid[i, | ||
+ | } | ||
+ | output = output + " | ||
} | } | ||
+ | print(output); | ||
Line 130: | Line 138: | ||
If, on the other hand, you would rather **avoid** this sort of thing, please try to avoid writing infinite loops in your code. If you happen to write one anyway, just refresh the page to start over. (// | If, on the other hand, you would rather **avoid** this sort of thing, please try to avoid writing infinite loops in your code. If you happen to write one anyway, just refresh the page to start over. (// | ||
- | ====Links to videos about Deep Learning | + | =====Out in the Real World===== |
+ | |||
+ | The challenge of controlling an agent in a real-world environment (like a space ship in an asteroid field) is generally **really** hard, and computer games can provide a nicely simplified training ground for trying out new algorithms. Researchers at Google' | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | ...and here's an article about it in the journal Nature: | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | **Good luck!** |
/var/www/cadia.ru.is/wiki/data/attic/public/problem_solving_challenge_2015/main.1446051860.txt.gz · Last modified: 2024/04/29 13:32 (external edit)