Skip to content

Riverraid v0

Ishan Tarunesh edited this page Oct 8, 2018 · 1 revision

Riverraid-v0

Overview

Details

Gameplay

Description

River Raid is a top-down shooting game with the aim of destroying enemy tankers, helicopters and jets. The player gets score for each entity destroyed. With only 4 lives and finite fuel (can be refilled in game) the player aims to maximise the total score.

Environment

Observation

Type : RGB(210, 160, 3)

Action

Type : Discrete(18)

Key Action
0 NOOP
1 FIRE
2 UP
3 RIGHT
4 LEFT
5 DOWN
6 UPRIGHT
7 UPLEFT
8 DOWNRIGHT
9 DOWNLEFT
10 UPFIRE
11 RIGHTFIRE
12 LEFTFIRE
13 DOWNFIRE
14 UPRIGHTFIRE
15 UPLEFTFIRE
16 DOWNRIGHTFIRE
17 DOWNLEFTFIRE

The action space for Riverraid is the same as for all other Atari games.

Reward

Entity Reward
Tankers 30.0
Helicopters 60.0
Fuel Depots 80.0
Jets 100.0
Bridges 500.0

Important Points

  • The bridges serve as checkpoints in the game. Losing a life will restart the game from the last crossed bridge.
  • Hovering over the fuel depots slowly refills the fuel tanker.
  • There is no negative reward given for losing life.

Starting State

The initial few frames only show the terrain before the start line. The game begins when the agent is first visible on the screen. The agent starts with 4 lives. Each of the following result in loss of life

  • Hitting the walls
  • Colliding with enemy entities (tankers, helicopters etc) or bridge
  • Running out of fuel

Solved Requirement

River Raid does not have any end destination or target ie it is endless. The algorithm provides same non-random, repeating terrain every time. Refer to Wikipedia for more information.