Wall-Go is a board game inspired from the Devil's Plan show. It's a variation of the classical Go.
In this game, you have to place, then move pieces on a board. The variation here is that you have to build a wall close to the last moved piece to end your turn. Walls eventually dertermine regions and then the game ends when each regions are controlled by an unique color, or not controlled. Each player earns 1 point for each square controlled by a piece of his color.
- The game takes place on a 7x7 board.
- 2 players (3 pieces/player) or 3/4 (2 pieces/player)
- Walls : 20 per player
- When it's his turn, a player can move 0, 1 or 2 times one of his pieces ; then place a wall close to this piece.
- A turn ends when a wall is placed
- The game ends when a player has no walls remaining or when all colors are in different regions.
- In tie conditions, the player with the largest single region wins.
I'm new at programmation and especially in C. The goal here was to learn basics of the C language and to make a project on my own. I had to learn how to structure a big project like this one, to do a makefile and to use the SDL library.
I started from zero and did my best (at first), to make my code clean and to avoid memory leaks.
The goal here was firstly to learn things about programming in C. Thus, there is a lots of features that are missing and avoid the game to be really playable. Main example is that there is no menu. I decided not to add it since it would have taken too much time and that wasn't the goal of this project. At the moment, there is still some problems on winning conditions that make the game keep running when it should stop. I'm doing a break for now and I, hopefully, will try to fix it soon.
