- 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.
I am not 100% sure how you thought about the game in class, but as far as I understand the game, you dump ships through clicking on them, right? So my idea would be that only after having sunk all parts of the ship, you will find out which kind of ship it was. Then you will be provided with information (through a pop up window?) on the type of boat. This information will randomly be gathered through API requests on very diverse data bases, including historical sources, like suggested before me, art data bases (openbeelden.nl, open cultuur data search, EU screen video collection) and others. Everybody in the course can contribute one type of ship in connection to their own research and maybe their own final project. Some ideas: historical ships/paintings of ships, ships carrying certain goods (like weapons, this is a database on weapon trade: http://nisat.prio.org/trade-database/), it could be a refugee ship (https://www.detective.io/detective/the-migrants-files/ - not sure though in which ways this database is searchable), it could be a Greenpeace boat or a spy boat or a fun boat with Marvel characters on it. The challenge would be to find a proper interesting way of dealing with each set of data in fruitful ways.