Skip to content

smgraywood/spring_concentration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Play! github.io

Table of Contents
  1. About The Project
  2. Gameplay
  3. Installation
  4. Contributing
  5. Contact
  6. Planned Enhancements

SPRING CONCENTRATION

About The Project

A spring flower themed game of concentration inspired by my mother. My mother loves plants and flowers and used to take me on botany identification walks as a child. So, for my first game created for the General Assembly SEI program, I decided to make a game that she would love as much as the superbloom.

  • choose board sizes between 4 and 24 tiles
  • beautiful spring flowers under each tile
  • mobile responsive design
  • timer function counting down while game play happens
  • planned with Figma

Built With

HTML5 JavaScript CSS3 GitHub Git Visual Studio Code

(back to top)

Gameplay

When entering the game, a player has several user paths they can take. Gameplay is disabled until the user chooses their board size which will cause divs to disappear based on the number of tiles selected.

Once the user selects a gameboard size and presses play, a timer will start. The timer is set to the same time (60 seconds) for every gameboard size, so the level of difficulty is determined by the gameboard size chosen by the user.

The user can then navigate through the game by clicking different tiles. If the two tiles are a match, they will stay facing up. However, if the two tiles do not match, they will turn back over after a 1 second delay allowing the user to see what flowers they previously chose while not delaying their ability to play.

If the user matches all of the tiles within the given time, a message displays at the top of the page telling them that they won. However if the user is unable to make all of the matches in time, the message displayed says "You Lost."

Feel free to go test it out! github.io

These are images from the design process of the game
image of the design for the game with the front of the pink tiles showing image of the design for the game with the back of the pink tiles showing, exposing the side adorned with a flower

This is an example of what the game looks like on mobile

in play mobile responsive screen in play mobile responsive screen


This is a short video of what gameplay might look like

a short gif of what gameplay looks like

(back to top)

Installation

  1. Clone the repo
    git clone git@github.com:smgraywood/spring_concentration.git
  2. Get to coding! 😃

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Planned Enhancements

  • Reformating divs so that the display of fewer than 24 is cleaner looking
  • when flowers are matched, a short message about the genus of the flower and where and when it grows
  • leaderboard for shortest time making all matches based on board size
  • popup to tell the player that they need to select a board size if they try to click the start button without selecting a board size
  • in game music
  • ability to choose between regular floral deck and a floral deck with CA wildflowers

(back to top)

About

A spring themed concentration game built in vanilla js, css, and html

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published