GOMOKU
A downloadable game for Windows and Linux
About
This is basically my approach to Gomoku (5 in a line), it was developed as part of a programming test for a position as a freelance programmer at GSN, in the span of about 15 hours, give or take, as I worked on it on and off from Wednesday march the 8th of 2020 to Sunday 12 of the same month and year. With this game I wanted to showcase not only my ability for dumping a bunch of code or solving a problem, but also my ability for making games in general, game design, sound design, UX and so on, it doesn't have all the features I wished to implement but I didn't wanted to delay the submission for my test and risk not being considered for the position anymore, rather, I tried to leave as much foundation work as I could to showcase all of that, and, regardless of getting hired of not, be able to have a game I could be proud of, and be able to improve, enhance and finish without it feeling unfinished but rather rough around the edges.
Test Restrictions
- The Challenge:
- Write a program that will play a modified version of Gomoku.
- Rules of the game:
- The board is a 15x15 grid of squares.
- Player pieces are either an "x" or an "o".
- Players take turns placing their pieces on the board.
- Pieces can be placed in any open square.
- Pieces cannot be moved.
- Only one piece is allowed per square.
- A player wins when there are 5 (or more) of their pieces in a row horizontally, vertically or diagonally. If the grid is completely filled, and a winner is not declared, then the game is a draw.
- X always goes first.
- Your Goal:
- Create a single player version of the game against an AI player.
- The UI is not necessarily an important part of the game, but feel free to spruce it up if you like. Any solution is sufficient as long as you have a way for the player to make a move against the AI and view the state of the board (either console/text based or graphical).
- The only requirement for the AI is that it plays a decent game against the player (not just random moves). It doesn't have to be overly complex, it just needs to be fun.
- Other Rules:
- Please use Unity and C#.
- Please include all code needed to run your program. This includes any package, solution, makefiles, libraries you use to answer to develop the project.
- Feel free to use the internet and any other references. Remember the work must be your own.
- Take as much time as you need to complete this test. Ideally this should take no more than one or two evenings. We cannot continue with the interview process until we have received and reviewed this test.
How to play
Navigate the menus with your mouse, use the WASD or Arrow keys to move the cursor, press space-bar to place your piece on the board, be the first player to place 5 pieces in a line to win.
Download
Click download now to get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.