Code Monkey home page Code Monkey logo

inspirelab-game's Introduction

InspireLab Game

Description

This repository discovers extra potential on the CH32V003 RISC-V Game console. A link to the original repository is below. https://github.com/wagiminator/CH32V003-GameConsole

How to use

Snake Game

  1. Install MounRiver Studio and add the following to PATH:
    • $(your_install_directory)/MounRiver_Studio/toolchain/RISC-V Embedded GCC 12/bin
      • For riscv-none-elf compiler toolchain
    • $(your_install_directory)/MounRiver_Studio/toolchain/Build Tools/bin
      • For make tool
  2. Open terminal in the corresponding game folder (e.g. snakegame)
  3. type make on the terminal to make the executable for CH32V003
  4. flash the hex file into the game console (CH32V003J4M6) using WCH-LinkUtility (Windows only) or todo
  5. Have fun!

Notes:

  • the driver in riscv/include has been modified (compared to original implementation) to allow direct copy from the emulator to run the RISC-V controller
  • buzzer function plays real frequency in Hz

Emulator

  • emulator/include contains a port of the riscv/include libraries which allows code using such libraries to run on desktop platforms for ease of debugging
    • Windows / MacOS are supported
    • See emulator/README.md for more information.
    • Usage: make -f makefile-emulator inside game directory.

Utilities and Tools

  • Contains an python script that faciliates game texture conversion from 128x64 png file to C-array which the OLED monitor accepts

image

Links

inspirelab-game's People

Contributors

eric15342335 avatar comet13579 avatar

Stargazers

 avatar

Watchers

Lucian avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.