Skip to content

genasim/PacMan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

14 March 2023

  • L0 since 8 March
  • Call w/ Genadi, dynamo, dahoum
  • Diary
  • Genadi Specifics
    • Began w/ the logic
  • Homework
    • Fix the motion
    • Try to build a "state of labyringh" array and to display the labyrinth w/ it w/ css clipping.

16 March 2023

  • Labyrinth visuals from sprite sheet done
  • TODO:
    • Create class 'Tile' that will represent each tile in code and expose methods, managing it done

17 March 2023

  • Homework
    • Add the pacman to the map
    • Try to think of ways to implement movement of the pacman.

18 March 2023

  • Add Pacman to map done
  • TODO:
    • Animate him
    • Add controller

19 March 2023

  • Initial Pacman animation (only for right direction) Sprites for characters will/are drawn on a transparent canvas element, placed on top of the labytinth layer
  • TODO:
    • 4-way animations done
    • Add controller done
  • Edit: Pacman now has a controller(WASD) and is animated. Both objects expose methods to the GameEngine that manages them
    • TODO:
      • Collision check with underlying labyrinth

20 March 2023

Homework

  • Make the pacman to move only in allowed tiles{not walls}
  • Add ghosts to the map

22 March 2023

  • TODO: Change game to use HTML Canvas instead of two div 'layers' done
  • Edit:
    • Draw map on screen based on initial level matrix
    • TODO:
      • Add visuals from sprite sheet done
      • Add pacman to map done
  • Edit:
    • Added visuals to map from spritesheet done
  • Edit:
    • Propper collision DONE!
    • Pacman animations restored done
    • TODO:
      • Add score pellets to map done
  • Edit:
    • Added score pellets to map
    • Win condition: eat all pellets to win

Overall, whole day involved changes to the codebase, ranging from minor refactoring to major redesign. Master branch up to date

23 March 2023

Homework

  • Make the pacman to teleport to the other exit when going out from one of the exits. done
  • Add ghosts to the map
  • Make them move in randoom directions Edit
  • Pacman doesn't exit map when going through middle corridors
  • TODO:
    • Add ghosts done

24 March 2023

Added ghosts to game, alongside base Character class

  • TODO:
    • Add bot controller to ghost done

25 March 2023

Ghost controller added

  • TODO:
    • 4-way animations for ghost done
    • Ghost kills player upon touch done
    • All four ghosts done
  • Edit 4 4-way animated ghosts yay

26 March 2023

Upon touching the player, ghosts will 'kill him', i.e. stop the game loop indefinitely, i.e. 'game over'

  • TODO:
    • Add power pills done
  • Edit Added power pills: after pacman eats one, the ghosts will be scared for 6s and can be eaten by pacman
    • Initial game functionality done?

About

Recreating the original PacMan in browser

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •