Microsoft has partnered with a few manufacturers to release custom handheld devices which can be programmed to run games designed with MakeCode Arcade. With these handheld gaming devices you will be able to create your own games, download them to the device and play them without being connected to the computer.
The Kittenbot Meowbit comes with a 1.8′ full-color screen, 6 x programmable buttons, 1 x buzzer, built-in light sensor, temperature sensor, SD card slot (For external storage), multiplayer connector and edge connector. A special feature of the Meowbit is the in-built edge connector which should (**no extensive testing or certification of other 3rd party expansion boards has been conducted) ensure that the Meowbit pins is compatible with most micro:bit expansion boards out there. When combined with the Kittenbot Robot:bit board you have the ability to create a programmable versatile robot in a very short time. The Kittenbot Meowbit can also be used with the Kittenbot IoBit to create different electronics projects just like you would with the BBC Micro:Bit.
Let’s dive in and create our game – In this tutorial we will create a simple bunny hop game. The game consists of a sweet little bunny rabbit dashing across the screen with obstacles continuously being thrown into its path.The bunny rabbit is programmed to do what rabbits to best i.e. hop (jump vertically) and dodge the obstacles in it’s path. Failure to dodge the obstacles will cause a collision and end the game. Open up the Microsoft MakeCode Arcade interface, listen to the video and start putting together your own bunny hop game!!!
If you prefer diving into the code directly and prefer not watching the entire video then check out the code snipped below –
You can check out the published game at – https://arcade.makecode.com/18566-13434-92037-98622. The game is pretty easy to put together and shouldn’t take too long to code. In the end you even get to play it and derive satisfaction from having created your own game!!!!
Feel free to make a copy of the game at Makecode Arcade, edit it within your own Makecode Arcade workspace, then download to your Kittenbot Meowbit. Once you’ve built the game as per the tutorial you should challenge yourself and add other elements, sprites to the game to give it a twist. Who knows what you might come up with!!!! If you are looking for details with regards to working on the Meowbit, uploading code to the Meowbit including other development tracks and tutorials then head over to our learning management system at KidzCanCode.com – https://learning.kidzcancode.com/courses/all/meowbit/.
Happy hacking from everyone here at OzToyLib!!!!!
KidzCanCode – At KidzCanCode.com we offer FREE access to various STEM (Science, Engineering, Technology, Math) development courses at KidzCanCode.com . At KidzCanCode.com you will find courses on Scratch, BBC Micro:Bit, Raspberry Pi, Robotics and Electronics.
If you are looking for a BBC micro:bit, Arduino, Raspberry Pi, starter kits, electronics kits, robotics kits including other STEM learning kits we would recommend you drop by our online store here – <OzToyLib>.
Hopefully you have enjoyed the post. If you have any questions, comments or suggestions for future tutorials drop us a note at – learning at hack2 dot live.