- Read Martin Heidegger's 'Age of the World Picture'
- MANDATORY. I'll have to cancel the session if this is insufficiently read...
- Do Features Assignment: Deadline Friday 18:00
- Do Coding Assignment: Deadline Monday 15:00
BACKGROUND: Although I really like the idea of building Battleship, it's not entirely clear to me how this is related to (humanities) research. Last week we talked about linking our project to online and/or offline collections. This now completely disappeared. I want to see both aspects back in to our project.
In order to do so, I want you to do the following assignment: think of an exhibition or collection that we can link this to. Translate this into a concrete feature of the game. To give you an example:
Feature: Puzzle Pieces
- The pieces in our version of battleship are not ships but puzzle pieces. Together they tell a story, for instance about a particular painting (Rijksmuseum API) or group of Zombies (Allee). By playing the game, players gradually uncover each other's narratives.
DISCLAIMER: This is just an example. There are million directions that we can take this. Don't copy mine. Think of something else.
NOTE: I don't expect you to do all the steps. Just see how far you can get.
- Make a React Component: GameBoardCell that displays a simple empty cell.
- Add a click event to the cell. It should display a message telling the player that it was a 'miss'
- Add state to your component. Your cell can now either be on or off.
- Update the click event accordingly. On now means: 'hit', off is 'miss'
- BONUS: use setInterval to change that state every second
- Make a Game Component
- Have the GameCell as a Child Component
- Move the state here
- Make a SwitchBoardCell Component
- Put this inside your game component
- Add a click event that controls the on/off behavior of the other cell
- Make two Container Components (GameBoard, Switchboard)
- Move the two children into their respective components
- Link everything up
- Scale Up
- Scale up to 4 squares each.
- Display them in a grid
- Scale up to a custom sized-grid.
Like I suggested in my portfolio as a research project is to develop a game for the 'Keys to Rome' exhibition in the Allard Pierson museum. In this exhibition the museum included a Kinect game that visitors can play. In this game the visitor walks through a Roman house and has to look for and has to collect objects who are also exhibited in the 'Keys to Rome' exhibition. Unfortunately, this game wasn't working properly. That's why I would like to improve/ or develop another game that is actually working. So, for this Battleship game, I was thinking that the pieces should not be ships, but keys instead. When a player discovers a key they unlock an object (or treasure) that they already saw in the exhibition. So the keys will eventually 'unlock' all objects.