News

What we achieved at the ‘Making games and AI’ data-jam?

Hack AI game design

From 1st to 4th of March Data Science Society was a co-host of a cool event in Sofia Lab. The event was Hack & Design Challenge vol 1: Make Games and AI (organized by Hardcore Game Jam) and it was all about meeting the AI community with the game designing community. It was not exactly Datathon and not exactly Game jam, let us call it a data-jam – where everyone with a creative mind could prosper and transcend ideas.

The main sponsors of the event – Sofia Development Association outdid themselves again by accommodating the participants but also by rewarding all of them with a ticket to Webit Festival.

We would also like to thank Tommy Thompson  (the super popular voice behind AI and Games) for the super cool video greeting:

The challenge

The challenge was to make games with AI elements, so we invited artists, game designers, game developers, and AI specialists. AI in games has a variety of applications and therefore had enough challenges for all of them.

It was a non-competitive challenge, which means it is common to everyone present and there is no internal competition, but everyone is competing as one big team against the tasks. The challenge was to produce a certain number of AI-game solutions by category.

In order to solve the challenge, we had to self-organize our work as we broke down every game project into subtasks and used a kanban technique to work them out. So when somebody finished working on a given project, immediately found him/herself a new one and joined the team currently working on it. We also had a thematic visualization to track the progress every 12 hours.

Progress status 24 hours before the end of the challenge

 

The Challenge Tasks were:

1. Create a game with an enemy AI: Create a game from any genre (Action, Card, Fighting, Platformer, Racing, Shooter, Sport, Strategy) and then create an AI opponent for this game.

2. Procedural Generated Game: Create a procedurally generated game (game environment, sounds, NPC behaviors included).

3. Train a bot to play a game: Create a bot that plays an already existing casual game.

4. Cooperative Game: Create an AI for a game and then create more than one bot (different bots could have different behavior), who then have to cooperate in order to beat the game.

5. Educational Game: Create an educational game, which is an example of AI itself.

6 (Bonus) Multiplayer Arena Game: Create a simple arena battle game where every participant could create a bot to play against other bots. Reprogramming and adjustments on the bots are allowed.

There were also  18 additional diversifiers which had been fulfilled, while at least one of them had to be present in each game.

The lectors

Angel Marchev Sr.

Angel Marchev 1.0 is the pioneer in the field of Artificial Intelligence and Gaming. Being a world-renowned scientist in self-organization methods (and one of the founders of multi-stage selection procedures), he has also dedicated his life to adding a gaming layer on top of the Globe, and along with that process, he has started the gamification of everything movement, long before the word “gamification” was coined.

Steve Stavrev

Steve Stavrev is a jack-of-all-trades when it comes to the link between AI and gaming. He teaches game design and does research at the Faculty of mathematics and informatics at the Plovdiv University. Steve is an entrepreneur in the field of serious gaming, and most importantly he is a distinguished lecturer at tech conferences in the fields of AI and gaming.

 

The results

We have had panty of positive output and cool emotions as results from the event, but did we also ever have cool tangible results (games and tools). All finished code files and assets accompanied by reasonably understandable documentation are published in public repositories and/or are otherwise accessible to the public. Here they are:

The ‘Tool book’

Even before the start of the event, we were able to start working on the tasks, by putting together an extensive resource on making games with A.I. in the form of a tool book with the vast amount of books, articles, libraries, repositories, and codes. The participants, the lectors and our special remote guest Tommy Thomson apprised the Tool book, and of course, they also helped to expand it. It is open to the public and is still available to be enriched by anyone at http://bit.ly/AI-games.

 

Virux

Virux is a strategic board game with puzzle elements but played as a sand-box simulation. As a player, you basically make a series of experiments to spread out two types of “viruses” on an experimental board.

The AI implementation of this game is in relation to the TASK 4: Make a cooperative A.I. game, but at the same time game is procedurally generated (TASK 2).

 Game repository: https://github.com/HackDesignChallenge/virux

 A full playable online game here…

 

Kamioncheto Sakri

The driver in the truck has one very important task – to get the shipment from point A to point B unharmed and as fast as possible. The load is test tubes full of life saving vaccine. The road he drives on is full of obstacles and he has to overcome them. If he doesn’t make it on time people will die. Every time when the truck falls into a hall, hit a stone or an animal the truck gets broken. The only way to fix the truck is by collecting coins and tools. Get the job done and do not waste people’s lives!

The gameplay of this action packed game is similar to the Temple run types of games. It is highly obsessive with its neon 89’s style and endless gameplay.

Mentioning endless – it really is. The game uses a fractal numerical sequence as a mean of procedural generation (TASK 2) of the gameplay.

 Game repository: https://github.com/HackDesignChallenge/Games-AI-Task-2/

 Download the playable game here…

alt text

 

re-Spawn

The interplanetary enemies re-spawn wave after wave and the lone protector has to fire at them back, or at least ram them away. A platform shooter game with some unusual twists, which gives a lot of fun when played.

It is a game aiming at TASK1: Make an enemy bot game (but at the same time it also hits TASK2: Procedural game). It implements endlessly spawning enemies, each of them follows a very simple behavior tree with several states, accompanied by swarm tactics.

Game repository: https://github.com/HackDesignChallenge/Games-AI-Task-1/

 Download the playable game here…

alt text

 

GAD selection

We have to breed a specific kind of genetic alien devices (GAD) through the process of multi-stage directed selection. You have an objective feature state (color) which we want to be achieved in at least one of the GADs. Then we select those GADs whose genes could be used to achieve a GAD closer to the objective in the next generation of GADs. The non-selected GADs are disposed and a new generation of GADs are bred by mating the selected ones. Sometimes we will need to use the random mutation as a mean to move the selection in a new direction.

This game aims at TASK 5: Create an educational game and is a simplistic (but not easy) logical puzzle game. The game introduces the players to the evolutional algorithms. Playing as the de-facto-algorithm, they learn the most important phases of the one such algorithm – the multi-stage selection procedure. Also, swarm algorithm is used for the gameplay.

 Game repository: https://github.com/HackDesignChallenge/Games-AI-Task-5/

 Download the playable game here…

alt text

 

Minyoro

MC Уъфcho is leading his band of Vinkel boyz down in the mine to capture the treasure of the Steel City (A.K.A. Chugun chest) and get back out alive. They have to navigate the complex labyrinth of treacherous up- and down- tunnels. Unfortunately, The Blues players are trying to beat them to it, but this time the Blues are mind controlled by the Devil himself (who is also proficient in Markov Chains calculations).

This game was our solution for TASK3: Train a Bot to Play and this is by far the most sufficticated game made at the data-jam. The game incapacitates three innovative techniques:

  • A specially programmed Python-to-Unity API ( see below)
  • An AI which is an expert on Markov Chains and uses it to play vs the human player.
  • An algorithm for procedural generation of the game.

 Game repository: https://github.com/HackDesignChallenge/Games-AI-Task-3/

 Download the playable game here…

alt text

 

Python-to-Unity API

This is probably the most useful result for any future collaborations between AI and Gaming experts. It is a bridge between the two most used workflows by either side. It really permits dividing the game truly into the frontend (in Unity3d) and algorithmic backend (in python Jupyter Notebook). The API could be used to create new games or to append complicated A.I. to any existing Unity game.

Public repository: https://github.com/HackDesignChallenge/pythonAPI

Unity and Python API

The Hackers’ Game Field

The impro-guys from improduce.me, the relax zone from The Stars Group, and the refreshments from Coca-Cola HBC Bulgaria helped for the good vibes throughout, while the event was publicized by Sofia Game Jam and by Game Development Summit. Add Crew Dragon‘s successful space Odessy and we had full action for more than 72 hours.

Thank you all for joining us in this game creation adventure with AI – See you at the next challenge this summer – the Hardcore Game Jam!

 

 

Share this

One thought on “What we achieved at the ‘Making games and AI’ data-jam?

Leave a Reply