Welcome to BOBBY's World

  • This is a hackathon project at the HackTheBurgh 6th edition.
  • The project is a 2D game.

Plot:

You are a tourist in Edinburgh City. Your aim is to explore the lovely city and admire all of its main landmarks as quick as possible. In the meantime, you can collect all the money that's been lying around and avoid the angry chavs. If you visit all the landmarks, you'll be treated for a special round. The boss round might be hard, but my good friend from **KONAMI* said there's a cheaty cheezy way of of passing that round. Hope you enjoy it !*

Inspiration:

We have created a maze game which can be played single player, drawing inspiration from games like Pacman, GTA1, GTA2. What is special about it is that you have different levels, and when you complete a level, a window pops up on you screen with information about a landmark of Edinburgh (one different landmark for each level). You can also collect coins on the way and use them to buy pickaxes, which you can use to destroy walls with (one pickaxe per wall). Moreover, there are enemies patrolling on the map and they can catch you if you do not keep distance from them.

What it does:

For each level, it generates a different maze. You can play it using a keyboard, the instructions are on the right side of the screen.

How we built it:

We firstly imagined it, looked to project it on the paper and write use-cases for it. Then, after we got an initial idea, we started coding to see how it goes. One of us created a server for players to log in. Two others started coding in JavaScript and solved the randomization of mazes, while the fourth one continued thinking on what features could be added to the game. Later on, we all moved to creating the needed objects, the GUI and coding bits of the game, until we reached the final state of our project.

Challenges we faced:

There were multiple challenges, especially because all of us were quite new to JavaScript and to creating games. The first challenge was generating a different random maze for each level, then came the challenge of putting coins and shops at random places, which are accessible from the walkable path. Then we had the challenge of covering in dark the unvisited part of the maze and design it to look more attractive than just cells. Our final challenge was creating the enemies and their movement through the maze and, of course, solve some of the bugs we discovered while testing.

Achievements we are proud of:

We successfully added key features which make the game attractive and unique. It feels quite smooth and, despite the basic idea which stays behind it, we made it interesting for players through the ever-increasing difficulty. We have also added an element of ‘getting-to-know-Edinburgh’, in hope that we increase players’ interest in visiting Edinburgh.

What we learnt:

How to create a game using JavaScript and how to work with its graphics.

What’s next for the next game:

We could offer players more features at the shop, we could create more levels and have some more features. We could also make it look 3D and eventually add the theme of Edinburgh so that the walking paths are actually streets of Edinburgh.

GUI File Location In The Repo:

  • bobbys-world/public/bobbys-world/hackTheBurgh/

If you want to try the demo, you login with the following credentials:

- Username: demo

- Password: demotest

Participants:

  • Ilie Galit
  • Robertas Norkus
  • Justas Zelnia
  • Alexandru Chelba
Share this project:

Updates