Done in the context of the programming module in my university
Jogo do semáforo Objective is to complete a line(, column or diagonal) with the same colour, player to complete wins. Players can play pieces in any tile without a Stone or Red piece, on an empty tile, a Green piece will be placed, another piece on the same tile will result in Yellow, final colour is Red. Other plays are c or l to add a line or a column, this type of play is allowed twice per player per game. And Stones, one allowed per player For details on how to play press 4 when prompted for help in game.
Windows: run main64.exe file (executable created with this guide) Unix: requires compiling
In a Unix system, cd
into the main folder and run make all
In a Windows system with gcc installed, cd
into the main folder and run:
gcc src/*.c -o dist/main.exe
./dist/main.exe