Skip to content

rhubarbdog/microbit-two-weeks

Repository files navigation

Two Weeks - a Fortnight clone for microbit

This is a genuine multi-player game - for version 2 microbit's

Reset the host first, then switch on each player. There is a thirty second period to automatically enroll for the game. The host will be scrolling the message 'Two Weeks - host' and each player should be scrolling their player number. Then 5, 4, 3, 2, 1 the game has started. You have been abandonned in a unknown world, use the compass to find the exit, first player there wins.

host.py
Tha actual game running in the ether.

microbit.py
A version for the microbit only, just tilt the board to move the player, press button b to reveal the compass. The player fades from bright to dim and back again, the walls are brightest, the exit is flashing and other players a medium brightness.

game.py
The version is for the Kitronik Game https://kitronik.co.uk/products/5644-game-controller. Use the cursor keys to move the player and press fire button 2 on the controller to reveal the compass. The player fades from bright to dim, the walls are brightest, the exit is flashing and other players a medium brightness.

gamezip.py
This version is for the Kitronik GameZip https://kitronik.co.uk/products/5626-game-zip-64-for-the-bbc-microbit. Use the cursor keys to move the player the compass is displayed on the microbit. Guide the red sprite to the purple exit avoiding the blue walls and other players which are yellow.

The game requires a version 2 microbit per player and a further version 2 microbit to host the game. There are two installation methods. Directly copy host.hex to one micro bit and then microbit.hex, game.hex or gamezip.hex to each player's microbit. Or freshly flash the microbits using either uflash or copy micropython.hex file directly to the microbit. Then use microFS or the file transfer facility in mu-editor to copy to programs to each microbit. Each player's microbit runs the program gamezip.py, game.py or microbit.py depending on which controller they have. Copy the correct program with the following commands.

ufs put microbit.py main.py

ufs put game.py main.py

ufs put gamezip.py main.py


The final microbit which hosts the game running program host.py copy it to the microbit as follows.

ufs put host.py main.py

There currently are a few issues with MicroPython and version 2 microbit's. Try the microbit.hex in this repository which is a copy of MicroPython.

Futures for Two Weeks

  • A gun with limitted bullets.
  • The Weather.
  • Sound Effects
  • Enemies controlled by the microbit
  • Future forks for this repository

  • Call of Duty, one side the Allies the other the Nazi's.
  • Luigi's Mansion, one player Luigi with his torch, the rest ghosts.
  • Tron on light bikes
  • Multi player snake
  • World of War Craft
  • Orienteering, either all start in the same location and get the flags in order or all start in random locations collecting the flags as you find them.
  • About

    Two Weeks a fortnight clone for microbit

    Topics

    Resources

    License

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages