Skip to content

AlpayC/Project_Rock_Paper_Scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project - Rock, Scissor, Paper Game like a pirate

ONLY PLAYABLE IN 1920x1080px, actually ;-)

Table of contents

Overview

The challenge

My challenge was to code the game rock-scissor-paper game

  • only using javascript, html and css
  • free design

Personal challenge was to make a chibi game with real game sprites and cool pirate character sprites

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS
  • Grid
  • Flexbox
  • ALL Animations with CSS-only and Keyframes in combination with add/remove classlist
  • Gamelogic build with JS of course
  • Free Game Assets and images

What I learned

How to build a game with serial and parallel animations. SVGs don't work properly for games, because of the workload of assets. Furthermore, i learned to pause functions with timeouts to time the complete animation. I also learned a lot of the eventListener function of JS.

Continued development

  • Want to add splashscreen
  • Want to add audio for attack, idle, win and lose animation
  • Responsive Design
  • Local Storage for Scoreboard
  • Pause Menu
  • Keybinds