Skip to content

rkcrisafi/Pastris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pastris

Pastris live

Background

Pastris is a tile-matching puzzle game, inspired by Tetris. A random number of pieces in shapes of letters ("L", "J", "O", "T", "S", "Z", "I") fall down one by one until they hit the bottom of the field or fall onto another piece. Each piece can be rotated by 90 degrees clockwise. The aim of the game is creating horizontal line of ten blocks (pastris) with no gaps. That's when the line gets destroyed, and all the blocks(pastris) above will fall.

Functionality & MVP

With Pastris, users will be able to:

  • Start, pause, and reset the game
  • Rotate pieces and move them left and right

This app consists of a single screen with game field and nav links to the Github and my LinkedIn. Game controls include Left, Right, Down, Rotate, New Game and Pause buttons as well as Score and Instructions displays.

Alt Text

Architecture and Technologies

This project is implemented with JavaScript for the game logic, HTML 5 Canvas for rendering and CSS 3 for styling.

Instructions

  • Press "s" to start/reset game
  • Press "p" to pause game
  • Use arrow keys to move a piece
  • Use arrow up to rotate a piece
  • Push space bar to drop a piece

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published