Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
pelita [2019/09/04 09:30] – [Setup] Rike-Benjamin Schuppner | pelita [2023/08/31 17:50] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Programming Project ====== | ====== Programming Project ====== | ||
- | [[https:// | + | [[https:// |
Pelita is a Pac-Man like game. Two teams each of two bots are placed in a maze with food pellets. The maze is split into two parts, the left one belongs to the team on the left (the blue team), the right one belongs to the team on the right (the red team). When a bot is in its own homezone it is a ghost. A ghost can defend its own food pellets by killing the enemies. When a bot is in its enemy' | Pelita is a Pac-Man like game. Two teams each of two bots are placed in a maze with food pellets. The maze is split into two parts, the left one belongs to the team on the left (the blue team), the right one belongs to the team on the right (the red team). When a bot is in its own homezone it is a ghost. A ghost can defend its own food pellets by killing the enemies. When a bot is in its enemy' | ||
Line 9: | Line 9: | ||
==== Setup ==== | ==== Setup ==== | ||
- | Install pelita: | + | Fork the group repo (where '' |
- | pip install pelita | + | See the documentation directly on '' |
- | + | ||
- | Clone the group repo (where '' | + | |
- | + | ||
- | git clone https:// | + | |
- | + | ||
- | See the documentation directly on https:// | + | |
==== Intent ==== | ==== Intent ==== | ||
Line 55: | Line 49: | ||
* Are you allowed to work alone and putting on your headphones? | * Are you allowed to work alone and putting on your headphones? | ||
* Are you allowed to work outside of the classroom? | * Are you allowed to work outside of the classroom? | ||
- | * Are you allowed to push to '' | + | * Are you allowed to push to '' |
* <color # | * <color # | ||
* choose persons responsible for certain roles. You need at least: | * choose persons responsible for certain roles. You need at least: | ||
* a group speaker, and most probably… | * a group speaker, and most probably… | ||
- | * … a release manager | + | * … a release manager |
* <color # | * <color # | ||
* take time, once in a while, to step back and have a look at how the group work is going and to discuss if you need adjustments | * take time, once in a while, to step back and have a look at how the group work is going and to discuss if you need adjustments | ||
Line 73: | Line 67: | ||
* later we will make [[# | * later we will make [[# | ||
* do **not** waste hours debugging Pelita or wondering about exotic cases: ask the tutors, they are there for you and are happy to help! | * do **not** waste hours debugging Pelita or wondering about exotic cases: ask the tutors, they are there for you and are happy to help! | ||
+ | |||
+ | At the end of the first session: | ||
+ | * Discuss the above points and write down the outcome of that discussion, even just as a list of bullet-points, | ||
Line 78: | Line 75: | ||
<alert type=" | <alert type=" | ||
- | * The repos are going to be **frozen** on Saturday | + | * The repos are going to be **frozen** on Saturday |
* Be sure there is a file in your repo named '' | * Be sure there is a file in your repo named '' | ||
- | * The file should define the string '' | + | * The file should define the string '' |
</ | </ | ||
Line 95: | Line 92: | ||
* **final**: the two winners of the semifinals against each other | * **final**: the two winners of the semifinals against each other | ||
* **last-chance final**: the winner of the final against the 5th team from the round-robin | * **last-chance final**: the winner of the final against the 5th team from the round-robin | ||
- | | + | / |
* <color # | * <color # | ||
+ | */ | ||
+ | |||
==== Network games ==== | ==== Network games ==== | ||
- | … more info soon … | ||
- | /* | ||
To play against the more advanced bots in the network, start a network game: | To play against the more advanced bots in the network, start a network game: | ||
- | pelita groupN.py | + | pelita groupN.py |
- | | + | |
- | | + | The keyword SCAN allows you then to select a network player on the command line. |
- | | + | |
- | | + | (Of course, remember that your bot can also play on the right side, so make sure to test eg. '' |
- | | + | |
- | pelita groupN.py remote: | + | |
- | (Of course, remember that your bot can also play on the right side, so make sure to test eg. '' | ||
- | */ | ||