Skip to content

zhoudada/CUESHackathon2016-CoderDodge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CUESHackathon2016-CoderDodge

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3 Screenshot 4

CUESHackathon2016

Inspiration

As engineering students who love coding, we realised that sitting at a laptop all day has huge consequences on our health, in particular, on our backs and necks. We often overlook this issue, and by the time we realise it, we have already got fat and unhealthy. Following the recent success of PokemonGo as people stormed out to streets to catch Pokemons, it has inspired us to create a game to encourage programmers to work out more.

What it does

We have created connection between the BBC:Microbit and a laptop. By attaching a Microbit to yourself, you can play the games on your laptop by moving your body, and hence exercising your body.

How we build it

We used one microbit to transmit its accelerometer-based data wirelessly to another Microbit connected directly to PC via USB. The server program in PC then reads data from the Microbit connected through serial port. After that, the server parsed the raw data into a class and passed it to Unity via socket. Finally, Unity games can use the those data as the game input.

Try it yourself

Even if you don't have Microbits in hand, don't worry! We provide the built binary of this little game for Windows x86-64, Mac and Linux platform. This version is keyboard control only. Use 'left arrow' to move left, 'right arrow' to move right and 'up arrow' to jump. Each movement will have a cool down time of 1s, so leave ample time for next movement. The build zip files are under /Unity/CoderDodge/Build/.

You may find there is problem connecting to the server to get the highest scores. You need to run the highest score server /Python/ScoreServer/run.py (needs Flask module) locally. The server may be deployed to the internet in the future.

About

CUESHackathon2016

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors