War or Peace

Learning Goals

  • Follow an interaction pattern
  • Write readable code that adheres to Ruby convention
  • Write tests
  • Create an Object Oriented Solution to a problem (objects should interact to achieve the stated goal)
  • Host code on Github and submit a Pull Request

Overview

In this project, you will write a program to simulate a game of war. A user will be able to create two players, and watch them ‘play’ the game.

In order to build good habits, we’ve broken the project into small classes to demonstrate objects that have a single responsibility.

Additional detail is included in the pages below.

Lesson Search Results

Showing top 10 results