Inspiration
We wanted to develop a game and also get in touch with a new programming language.
What it does
Overall, it is a simple tic tac toe game. However, the way the AI is implemented is far more complex than it can be thought. It is deployed in a golang REST API at https://glacial-tor-78412.herokuapp.com/ and receives calls from the game client in order to find the next move in a game.
How we built it
We developed the frontend with Django and javascript in order to manage the presentation of the board and generate the corresponding API calls to the AI.
The backend was developed in golang and the AI uses the MinMax algorithm in order to find the solution to the client's requests.
Challenges we ran into
We did not have any idea of how REST APIs worked in golang, or even how things in golang are made.
Accomplishments that we are proud of
We are proud of having built a simple game that allows the user play against an AI that never loses thanks to the implementation of the MinMax algorithm.
Furthermore, we are also happy that we succeeded in making the AI work along with the REST services implemented in a programming language that we had no idea how it worked.
package main
import "fmt"
func main() {
fmt.Println("Hello Go!")
}
Log in or sign up for Devpost to join the conversation.