zetwhite / Embedded_GameController

implement old game and it's controller using stm32 board.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Embedded_GameController

This project is done as a term project of embedded lecture (PNU 2021 CP34001: EMBEDDED SYSTEM DESIGN & LAB).
We implemented retro games (obstacle avoiding game, snake game) on linux and it's controller using stm32 board.

Overview

  • Bluetooth communication is used to connect pc(linux) and controller(stm32).
  • To implement pc console game, we used Cpp language and ncurses library.
  • In stm32 board, sensor inputs like button and joystick movement are handled by interrupt handler.
  • We added a sensitivity level setup page for players. Because required tilt sensitivity is different by each game.

Envirnoment

demo

snake game demo

avoiding obstacle game demo

Directory Structure

  • GameController/ : code for stm32 board, don't upload IAR settings/* Debug/* *.ewp ... etc which can cause IAR version conflict problems. just download codes from this repo and create your local projects and do your works on it. (tested on stm32f107)
  • GamePC/ : code that works on your pc (linux, tested on ubuntu20.04).
  • GamePC/ObstaclesGame/ : code for avoiding obstacles game
  • GamePC/SnakeGame/ : code for snake game

About

implement old game and it's controller using stm32 board.


Languages

Language:C 97.9%Language:C++ 1.3%Language:Assembly 0.8%Language:Makefile 0.1%