This blog post is created for my ACA project in the second semester, 2015-16.
Title : Introduction to Game Theory
Mentor : Pallav Agarwal
GitHub link: https://github.com/harshnarang8/AcaConnectFour.git
Date | Entry |
---|---|
25th January, 2016 | The projects were presented to the first year undergraduates in RM101. |
29th January, 2016 | I get the project Introduction to Game Theory. My mentor is Pallav Agarwal. |
30th January, 2016 | Pallav calls a meeting. There he explains the first assignment, to create a program which sends a number to another instance of its own, which adds a random number to it and sends it back to the first instance. |
21st February, 2016 | First assignment completed in Python. |
25th February, 2016 | Attempt to code in Python and Java. Finally decided to proceed in Java, owing to comfort level and clarity. Wrote a preliminary code for the minimax algorithm for TicTacToe. |
27th February, 2016 | Pallav announces Tic Tac Toe to be developed; debugging left from my side. |
1st March, 2016 | Debugging for the AI under process. Rest works fine in command line. |
9th March, 2016 | Everyone had finished the project, but me. Endless hours of debugging produced no result. Finally, after making a fundamental change, and again lots of debugging, and reading thousands of lines of println statements, the AI works. Though it does not follow the same moves as the other AIs, but it works. It will be tested against other AIs in a day or two. |
18th March, 2016 | This is a late entry. Haha, just wrote the preliminary code for the Connect4 AI. Human vs Human works, that's kinda easy. Only Type, type and type :P . Not so much though. LOL. P.S. One of the group members has completed the first step, i.e. his AI works by now; by now refers to before I began. :| Okay, for my satisfaction, solely; he hasn't written the heuristic function for the game even as I am typing it. Well, I have written minimax for the game, but checking it requires either modification, or the heuristic function. I guess it has to be delayed until I write a satisfactory function, even though I have a prototype. |
27th March, 2016 | Wrote the code for a function, I think its pretty neat. Connected the code together, and got it running. Works okay, found a few glitches, though major ones. Ironed them out. Works great now. Still toying with the idea of creating a GUI. |