Helder-PB / pacman_mp

Remake of the multilplayer pacman game from PSis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pacman_mp

Remake of the multilplayer pacman game from my old group project in PSis.

I decided to make this project because:

  • I want to explore more the capabilities of my ESP32;
  • I wanted to implement one of my favourite group projects with concepts and skills that I lacked at the time of development;
  • I like embedded systems;
  • I like automation and electronics;

The final goal is a more efficient implementation of the game to allow the creation of a small network of ESP32 to play a multiplayer pacman (like a classic gameboy in a local network).

Concepts

This project requires knowledge in:

  • Programming in C
  • Efficient memory usage
  • Valgrind and gdb usage
  • Multithreading
  • Networking (sockets, pipes)
  • FreeRTOs

Stages of development

1. Implementation in a UNIX desktop (CURRENT)

The game must at least work in a computer, having in mind efficiency. The implemented makefile works ras follows:

  • make to build everything
  • make s to build only the server
  • make c to build only the client
  • make clear to clean some build files

Read the config.h before using anything. The current usage is as follows:

  • ./server to run the server
  • ./client 127.0.0.1 3000 for the client connection to the specified port and IP.

2. Implementation in a desktop - ESP32 network

This stage will require the biggest effort in optimization. Here the relation between the designed arquitecture and the hardware will expose the main bottlenecks. Here the main effort will be in:

  • memory usage
  • processing power
  • best FreeRTOs usage

3. Implementation only in FreeRTOs usage

Essentially the previous stage but without the desktop component as a server or client.

4. Hardware choosal

Mainly the batteries, display and controls. This stage will focus on the best equilibrium in affordability, performance and usability.

About

Remake of the multilplayer pacman game from PSis


Languages

Language:C 96.8%Language:Makefile 2.2%Language:C++ 1.0%