Skip to content
forked from jayph3/Arcade

Objective: Learn Git and GitHub

Notifications You must be signed in to change notification settings

rhubarbhill/Arcade

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

Arcade

Objective: Learn Git and GitHub

Background: We talked about decision trees last week. Decision trees are when a specific event is triggered based on certain conditions. This can be a decision that is made by a player or actions taken by other entities in a game based on a condition.

Decision Tree with If Else: In programing, there are if-else statements that analyze a current condition, and perform certain actions based on that condition. Each decision in a decision tree is like an if-else statement in code. For example, a pong decision tree could look a little bit like this in code:

image

Instructions:

  1. Fork and clone this remote repository to create a development environment on your computer
  2. Pick an existing game and make 3 simplified decision trees inspired by events in the game. (sometimes it's easier to draw it out first)
  3. Modify the code template I give you within Visual Studio Code.
  4. Add changes from the working directory to the staging area.
  5. Commit the changes WITH a message about which game and characters you chose.
  6. Push your commit to the remote repository.
  7. Create a pull request for your commit.

Hint: Use the cheat sheet found in files on canvas to help.

About

Objective: Learn Git and GitHub

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published