Hey there,
I want to present you my new project called Qubic which I’m currently working on. Qubic is a intelligent, clever and ingenious strategy game. You can play 3D Tic Tac Toe against a challenging artificial intelligence as well as against your friends locally.
WHAT IS ‘QUBIC’?
Qubic is the well-known game Tic-Tac-Toe in 3D. It is based on a cube-like playing field, which is divided into 4x4x4 similar fields. Two players play against each other. Both players alternately do their moves by green or red marks. The goal of the game is to have four marks of the same color in a row, column or diagonal. The winner is the player, who reaches this goal.
ARTIFICIAL INTELLIGENCE
The first game mode is called “Player vs AI”: the user starts the game (with a red mark) and plays against an artificial intelligence, which is based on heuristic. The AI tries to win and fight against the possible win of the user. With a skillful strategy you can beat the artificial intelligence. Since 1980 it is proven that the player, who begins the game, will always win the game (in case both players play in an optimal way).
Gameplay:
HX-irN3Vi3M
STATISTICS
A very interesting tool is the statistic view, where you can see how often you have beaten the artificial intelligence. It also gives you an general overview about how often you have tried to beat it.
TECHNIQUES
This game is developed for Android and I make use of libGdx as a wrapper of the OpgenGL ES API.
I have also implemented an own 3D picking system by coloring all the cubes in different colors and then when the user touches the screen, the screen color at the finger’s position is read. With this color data I can calculate which cube was meant. This obviously happens in the background such that the user cannot see these calculations.
The current version is now available on Google Play:
[url=https://play.google.com/store/apps/details?id=ai.qubic&hl=en]
[/url]
Desktop-Version (Please keep in mind, that this game was originally written for Android)
Criticism and feedback is much appreciated.
Are you able to beat the AI? Good luck!