'Added comments'
This commit is contained in:
parent
0a6aa61dd5
commit
62bb417cee
@ -97,12 +97,17 @@ int main(void) {
|
|||||||
|
|
||||||
// logic
|
// logic
|
||||||
while (1) {
|
while (1) {
|
||||||
|
// TODO REMARK, if there is no reading an input
|
||||||
|
// from the user there will be here inf loop
|
||||||
|
|
||||||
// 1. TODO ask user for the move
|
// 1. TODO ask user for the move
|
||||||
// TODO validate the move (field has to be empty)
|
// TODO validate the move (field has to be empty)
|
||||||
// TODO check if user wins, then print and exit
|
// TODO check if user wins, then print and exit
|
||||||
// the loop
|
// the loop
|
||||||
|
|
||||||
// 2. TODO computer makes the move
|
// 2. TODO computer makes the move
|
||||||
|
// TODO the computer's move does not have to
|
||||||
|
// clever, but it has to be correct
|
||||||
|
|
||||||
// 3. TODO print the board
|
// 3. TODO print the board
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user