Skip to content

Create a pacman and move these pacmen across the page.

Notifications You must be signed in to change notification settings

cpodgurschi/pacmanfactory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PacMan Factory

This exercize is building a feature of this game, which displays and moves PacMan from one side of the screen to the other.

Task Description

My task in this activity is to update the starter code to create a pacman and move these pacmen across the page.

  • Task 1: Create a pacman on demand (button click)
  • Task 2: Move these pacmen across the page

Installation

  • Step 1: Download all documents from the PacMen Factory file: Index.html, pacman.js, README.md files, and the Images folder
  • Step 2: Open the Index.html file

Usage

  • #1 When you click the "Add PacMan" button, a new pacman should appear at a random position on the screen. Each additional click generates a new pacman.
  • #2 When you click the "Start Game" button, the pacman or pacmen created should start moving at random velocity on the screen. With every click on the "Start Game", the speed with which pacmen move increases.
  • #3 When a given pacman hits the edge of the screen, it should change position to stay within the frame of the web page.

Also, you could check the README.md developed leveraging these sources:

Support

You can email me at [email protected] for help regarding this project.

Roadmap

Changing the image when PacMan touches the edges of the screen, disapear when it collides with another PacMan

License information

No applicable license at this time.

About

Create a pacman and move these pacmen across the page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published