This is a micro:bit game project that I created in school with JavaScript (or TypeScript if you want to be precise.). It is a battleships game.
Wait until the "Game Start" message has finished appearing, then pick your spot.
You can press A to move.
If you have locked in your position, then press A and B to send it to the other micro:bit.
Next, the first player presses A and B. If you lose, you will be projected a massage saying "you lose".
Open this page at https://jerenwa.github.io/battleships-microbit/
This repository can be added as an extension in MakeCode.
- open https://makecode.microbit.org/
- click on New Project
- click on Extensions under the gearwheel menu
- search for https://github.com/JereNwa/battleships-microbit and import
To edit this repository in MakeCode.
- open https://makecode.microbit.org/
- click on Import then click on Import URL
- paste https://github.com/JereNwa/battleships-microbit and click import
- for PXT/microbit