Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
APridgeon authored Aug 23, 2020
1 parent 1c388ab commit cf1358c
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,27 @@
# WhatStomata
# What's Stomata?

A javascript based game using the Phaser3 engine that I started to make. The idea was this could be used potentially for science outreach events to introduce people to the concept of stomata and plant gas exchange control. Additionally, this was a project I started to learn javascript (having no major exposure to the language prior to this - so don't judge the code!). Although uncomplete, here is a rough idea of what this game would have become. All of the code is here, so please contribute.
A javascript based game using the Phaser3 game engine that I started to make. The idea was this could be used potentially for science outreach events to introduce people to the concept of stomata and plant gas exchange control. Additionally, this was a project I started to learn javascript . Although incomplete, here is a rough idea of what this game would have become. All of the code is here, so I welcome any people who want to take this further.

## Aims
Balance the uptake of CO2 with water loss <br />
Prevent water levels from running out <br />
Accumulate as much biomass as possible (biomass is essentially the score) <br />
Adapt the behaviour of stomata to suit the current conditions (ie if drought is occuring water loss will increase) <br />
## Gameplay Aims
Balance a plants uptake of CO2 against water loss by controlling the opening and closing stomata <br />
Accumulate as much biomass as possible <br />
If the water levels go below 0 the game ends <br />

## Mechanics
ATP is generated by using up CO2 <br />
You can increase the amount of ATP generated per CO2 molecule by upgrading ATP production <br />
You can use accumulated ATP to generate more stomata, upgrade plant processes, water stomata etc... <br />

## Future Ideas
Currently the game mechanics have not been optimised (a lot of balancing is required) <br />
Add night and day (close stomata at night, open in the day - unless a CAM plant?) <br />
Add more upgrades <br />
Add more potential upgrades. There are lots of potential directions in which this could go <br />
Add a grass stomata element with subsiduary cells, faster dynamics etc... <br />
Add better instructions <br />

## Disclaimer
Having had no major exposure to the language prior to this there were points where I have likely not coded it in the most efficient/logical way. However, I've tried to comment what each bit of the code is doing. My defense is this was my first attempt!

## Play the current version of the game
https://apridgeon.github.io/WhatStomata/

Expand Down

0 comments on commit cf1358c

Please sign in to comment.