Permalink
Browse files

Platform (for games only) must be a node.

  • Loading branch information...
1 parent 07c297f commit 6d71ada6c654437edd8296de9f49ff61929c36f1 @cpressey cpressey committed Mar 23, 2013
View
40 data/architectures.yaml
@@ -229,3 +229,43 @@ native code:
that can handle many different platforms. (Chances are it will
generate native code for your system, no matter what system
you have.)
+
+
+Arcade:
+ type: Platform
+ no-specification: true
+ development-stage: mature
+ # \o/ so awesome
+ native-language: native code
+ other-languages: []
+ description: |
+ This node is a stand-in for the implementation platform for
+ any coin-op arcade game, for now.
+
+Sony PlayStation:
+ type: Platform
+ no-specification: true
+ development-stage: mature
+ native-language: native code
+ other-languages: []
+
+Nintendo GameCube:
+ type: Platform
+ no-specification: true
+ development-stage: mature
+ native-language: native code
+ other-languages: []
+
+Atari 2600 VCS:
+ type: Platform
+ no-specification: true
+ development-stage: vintage
+ native-language: 6502 machine code
+ other-languages: []
+
+Z-Machine:
+ type: Platform
+ no-specification: true
+ development-stage: vintage
+ native-language: native code
+ other-languages: []
View
6 data/other-adv-games.yaml
@@ -8,7 +8,7 @@ The Hitch-Hiker's Guide to the Galaxy:
genre: Text Adventure
solved-by:
- Chris Pressey
- platform: Infocom
+ platform: Z-Machine
authors: []
no-specification: true
development-stage: mature
@@ -54,7 +54,7 @@ The Africa Adventure:
Cranston Manor:
type: Game
genre: Text Adventure
- platform: Apple ][
+ platform: Apple II
authors: []
no-specification: true
development-stage: mature
@@ -66,7 +66,7 @@ Cranston Manor:
Creature Venture:
type: Game
genre: Text Adventure
- platform: Apple ][
+ platform: Apple II
authors: []
no-specification: true
development-stage: mature
View
16 data/other-computer-games.yaml
@@ -4,7 +4,7 @@ Dungeon Master:
type: Game
genre: Role-playing
# Also Atari ST
- platform: Amiga
+ platform: Amiga 500
controls: mouse and keyboard
authors: []
no-specification: true
@@ -21,7 +21,7 @@ Civilization II:
type: Game
genre: Conquest
# I played it so much I'm tempted to say "solved-by: Chris Pressey" here
- platform: PC
+ platform: Windows
controls: mouse and keyboard
authors: []
no-specification: true
@@ -39,7 +39,7 @@ The Incredible Machine 2:
type: Game
genre: Puzzle
# I don't remember if I solved all the levels or not
- platform: PC
+ platform: MS-DOS
controls: mouse
authors: []
no-specification: true
@@ -77,7 +77,7 @@ Adventure Construction Set:
Zelazny Angband:
type: Game
genre: Roguelike
- platform: Portable
+ platform: POSIX
controls: keyboard
authors: []
no-specification: true
@@ -89,7 +89,7 @@ Zelazny Angband:
King's Quest V:
type: Game
genre: Puzzle
- platform: PC
+ platform: MS-DOS
controls: mouse
authors: []
no-specification: true
@@ -110,7 +110,7 @@ Ultima VII Part 2:
subtitle: The Serpent Isle
type: Game
genre: Role-playing
- platform: PC
+ platform: MS-DOS
controls: mouse
authors: []
no-specification: true
@@ -125,7 +125,7 @@ Ultima VII Part 2:
Dungeon Keeper II:
type: Game
genre: Conquest
- platform: PC
+ platform: Windows
controls: mouse and keyboard
authors: []
no-specification: true
@@ -137,7 +137,7 @@ Dungeon Keeper II:
Alphaman:
type: Game
genre: Roguelike
- platform: PC
+ platform: MS-DOS
controls: keyboard
authors: []
no-specification: true
View
13 data/other-video-games.yaml
@@ -10,7 +10,7 @@ Typhoon Thompson:
solved-by:
- Chris Pressey
# Also Atari ST
- platform: Amiga
+ platform: Amiga 500
controls: mouse
authors:
- Dan Gorlin
@@ -68,7 +68,8 @@ City Connection:
Katamari Damacy:
type: Game
genre: Maze-Runner
- platform: PlayStation 2
+ # actually PS2 but for now that distinction is minor
+ platform: Sony PlayStation
controls: dual analog joystick
authors: []
# but it's not like i've collected every special item or anything
@@ -139,7 +140,7 @@ The New Zealand Story:
CoolBoarders 2:
type: Game
genre: Sports
- platform: PlayStation
+ platform: Sony PlayStation
controls: D-pad and 6 button
authors: []
solved-by:
@@ -159,7 +160,7 @@ CoolBoarders 2:
Super Monkey Ball 2:
type: Game
genre: Maze-Runner
- platform: GameCube
+ platform: Nintendo GameCube
controls: analog joystick
authors: []
wikipedia: Super_Monkey_Ball_2
@@ -208,7 +209,7 @@ Llamatron:
type: Game
genre: Shoot-'em-Up
# actually, Amiga; but I only ever played it on a PC; apparently this is ersatz
- platform: IBM PC Compatible
+ platform: MS-DOS
controls: joystick and 1 button
authors:
- Jeff Minter
@@ -225,7 +226,7 @@ Fall Down:
type: Game
# technically a platformer, I guess, but it doesn't really describe it
genre: Platformer
- platform: Atari VCS
+ platform: Atari 2600 VCS
controls: joystick
authors: []
no-specification: true
View
4 data/wip-games.yaml
@@ -8,7 +8,7 @@ Beseige:
auspices:
- Cat's Eye Technologies
inception-date: ca 1999
- platform: PC
+ platform: IBM PC compatible
controls: keyboard
development-stage: work in progress
no-specification: true
@@ -70,7 +70,7 @@ Save Alan from the Tar Pit:
auspices:
- Cat's Eye Technologies
inception-date: ca 1999
- platform: PC
+ platform: IBM PC compatible
controls: keyboard
development-stage: abandoned
no-specification: true
View
1 src/chrysoberyl/checker.py
@@ -308,6 +308,7 @@ def check_chrysoberyl_node(data, key, node):
# additional constraints for games (implementables)
if type_ == 'Game':
check_scalar_ref(data, key, node, 'genre', types=['Genre'])
+ check_optional_scalar_ref(data, key, node, 'platform', types=['Platform'])
check_list_ref(data, key, node, 'authors')
# additional constraints for platforms (implementables)
View
4 templates/Game.html
@@ -2,8 +2,8 @@
{% block implementable_content %}
<p>
- {{- link(genre) }},
- {{ platform -}}
+ {{- link(genre) -}}
+ {%- if platform -%}, {{ link(platform) }}{% endif -%}
{%- if controls -%}, {{ controls }}{% endif -%}
</p>
{% endblock implementable_content %}
View
4 templates/Ranking.html
@@ -7,8 +7,8 @@
<li>
<p><b>{{ link(thing) }}</b>
(
- {{- link(data[thing].genre) }},
- {{ data[thing].platform -}}
+ {{- link(data[thing].genre) }}
+ {%- if data[thing].platform -%}, {{ link(data[thing].platform) }}{% endif -%}
{%- if data[thing].controls -%}, {{ data[thing].controls }}{% endif -%}
)
</p>

0 comments on commit 6d71ada

Please sign in to comment.