Removed all move_t stuff because it was not implemented and anything other than putting got broken in the previous commit

This commit is contained in:
AnnaSnoeijs 2025-06-06 21:31:59 +02:00
parent 8810175693
commit 355c79bac4
7 changed files with 39 additions and 156 deletions

View file

@ -27,7 +27,7 @@
#include "types.h"
#include "ui.h"
#define VERSION 0.1.1
#define VERSION 0.1.2
#ifndef GITHASH
#define FULLVERSION VERSION
@ -164,10 +164,9 @@ int main( int argc, char *argv[] ){
initBoard( playboard );
// Begin loopin
for(;; playboard.player = !playboard.player ){
move_t move = askMove();
int column = askColumn( playboard, move );
playMove( &playboard, move, column );
int column = askColumn( playboard );
playMove( &playboard, column );
calcWins( &wins, playboard, column );
updateBoard( wins, playboard, move, column );
updateBoard( wins, playboard, column );
}
}