Livl-Corporation / livl-pacman

Insane Pac-Man clone from © Livl Corporation 🕹️
MIT License
0 stars 1 forks source link

refactor: init pacman, ghosts, fruits & timers in main #79

Open jvondermarck opened 1 year ago

jvondermarck commented 1 year ago
I think that we can also init pacman, ghosts, fruits & timers here.
Playing a game won't change what is initialized by this function so we can only initialize this once instead of at the start of each game :)

This way, we can initialize theses

_Originally posted by @FranckG28 in https://github.com/Livl-Corporation/livl-pacman/pull/76#discussion_r1234458618_

FranckG28 commented 1 year ago

I like this issue !

jvondermarck commented 1 year ago

I love it too !!!