Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Farama-Foundation/Arcade-Learning-Environment
/ functions
Functions
2,536 in github.com/Farama-Foundation/Arcade-Learning-Environment
⨍
Functions
2,536
◇
Types & classes
148
↓ 452 callers
Method
getInt
(key: string)
packages/wasm/ale.d.ts:6
↓ 427 callers
Method
putInt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/Serializer.cxx:46
↓ 327 callers
Function
readRam
reads a byte at a memory location between 0 and 128 */
src/ale/games/RomUtils.cpp:26
↓ 155 callers
Method
getBool
(key: string)
packages/wasm/ale.d.ts:4
↓ 146 callers
Method
putBool
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/Serializer.cxx:69
↓ 121 callers
Method
set
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/Props.cxx:60
↓ 103 callers
Function
getDecimalScore
extracts a decimal value from a byte */
src/ale/games/RomUtils.cpp:82
↓ 88 callers
Method
get
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/Event.cxx:45
↓ 66 callers
Method
pressSelect
src/ale/environment/ale_state.cpp:289
↓ 66 callers
Method
size
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/common/SoundSDL.cxx:569
↓ 63 callers
Method
softReset
This functions emulates a push on the reset button of the console */
src/ale/environment/stella_environment.cpp:205
↓ 62 callers
Method
setPageAccess
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/System.cxx:188
↓ 54 callers
Method
getString
(key: string)
packages/wasm/ale.d.ts:10
↓ 41 callers
Method
act
(action: number)
packages/wasm/ale.d.ts:18
↓ 41 callers
Method
reset
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/TIA.cxx:136
↓ 36 callers
Method
step
Perform one agent step, i.e., repeats `action` frameskip # of steps. Args: action: int | np.ndarray => if `contin
src/ale/python/env.py:253
↓ 33 callers
Method
close
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/common/SoundSDL.cxx:163
↓ 33 callers
Method
getScreen
Screen methods with dynamic shapes (varies by game)
src/ale/python/ale_python_interface.cpp:22
↓ 31 callers
Method
putString
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/Serializer.cxx:58
↓ 23 callers
Method
insert
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/PropsSet.cxx:103
↓ 23 callers
Method
write
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/Paddles.cxx:111
↓ 22 callers
Method
read
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/Paddles.cxx:74
↓ 19 callers
Method
array
Returns a pointer to the first element of the entire array (equivalent to &byte[0]). */
src/ale/environment/ale_ram.hpp:39
↓ 19 callers
Method
game_over
Indicates if the game has ended.
src/ale/ale_interface.cpp:242
↓ 18 callers
Method
setInt
(key: string, value: number)
packages/wasm/ale.d.ts:5
↓ 17 callers
Method
load
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/TIA.cxx:408
↓ 17 callers
Method
width
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/TIA.cxx:600
↓ 16 callers
Method
cloneState
src/ale/ale_interface.cpp:378
↓ 16 callers
Method
getRAM
()
packages/wasm/ale.d.ts:33
↓ 16 callers
Method
height
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/TIA.cxx:606
↓ 15 callers
Method
loadROM
(path: string)
packages/wasm/ale.d.ts:13
↓ 14 callers
Function
make_numpy_array
src/ale/python/ale_vector_python_interface.cpp:23
↓ 14 callers
Method
reset_game
Resets the game, but not the full system.
src/ale/ale_interface.cpp:239
↓ 13 callers
Method
getArray
Access the whole array */
src/ale/environment/ale_screen.hpp:47
↓ 12 callers
Method
next
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/Random.cxx:69
↓ 12 callers
Method
setBool
(key: string, value: boolean)
packages/wasm/ale.d.ts:3
↓ 10 callers
Method
lives
()
packages/wasm/ale.d.ts:22
↓ 9 callers
Method
clear
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/Event.cxx:57
↓ 9 callers
Method
getLegalActionSet
()
packages/wasm/ale.d.ts:37
↓ 9 callers
Method
getScreenRGB
()
packages/wasm/ale.d.ts:27
↓ 9 callers
Method
seed
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/Random.cxx:62
↓ 9 callers
Method
setFloat
(key: string, value: number)
packages/wasm/ale.d.ts:7
↓ 8 callers
Function
_get_states
(seq_)
tests/python/test_python_interface.py:271
↓ 8 callers
Method
batch_size
src/ale/vector/types.hpp:161
↓ 8 callers
Method
getEpisodeFrameNumber
()
packages/wasm/ale.d.ts:24
↓ 8 callers
Method
set
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/common/SoundSDL.cxx:267
↓ 8 callers
Method
size
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/PropsSet.cxx:197
↓ 7 callers
Method
clear
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/common/SoundSDL.cxx:520
↓ 7 callers
Method
peek
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/TIA.cxx:1881
↓ 7 callers
Function
readMappedRam
Reads a byte from anywhere in the memory map between 0x0000 and 0xffff. Note that the 6507 CPU used in the Atari 2600 only has 13 address lines physic
src/ale/games/RomUtils.cpp:74
↓ 7 callers
Method
set
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/common/SoundRaw.cxx:109
↓ 6 callers
Function
SDL_PauseAudio
SDL_PauseAudio */
src/ale/common/SDL2.cpp:183
↓ 6 callers
Method
env_ids_data
src/ale/vector/types.hpp:141
↓ 6 callers
Method
getAudio
Audio methods with static shape (512,)
src/ale/python/ale_python_interface.cpp:156
↓ 6 callers
Method
getAvailableDifficulties
()
packages/wasm/ale.d.ts:44
↓ 6 callers
Method
getAvailableModes
()
packages/wasm/ale.d.ts:41
↓ 6 callers
Method
getFrameNumber
()
packages/wasm/ale.d.ts:23
↓ 6 callers
Method
getRGB
src/ale/common/ColourPalette.cpp:49
↓ 6 callers
Method
getScreenGrayscale
()
packages/wasm/ale.d.ts:28
↓ 6 callers
Method
poke
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/M6502Hi.cxx:59
↓ 6 callers
Method
poke
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/M6502Low.cxx:50
↓ 6 callers
Method
update
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/TIA.cxx:508
↓ 5 callers
Method
attach
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/System.cxx:98
↓ 5 callers
Method
episode_frame_numbers_data
src/ale/vector/types.hpp:147
↓ 5 callers
Method
frame_numbers_data
src/ale/vector/types.hpp:146
↓ 5 callers
Method
getDifficulty
()
packages/wasm/ale.d.ts:46
↓ 5 callers
Method
getMinimalActionSet
()
packages/wasm/ale.d.ts:38
↓ 5 callers
Method
getScreenDims
src/ale/python/ale_python_interface.hpp:64
↓ 5 callers
Method
lives_data
src/ale/vector/types.hpp:145
↓ 5 callers
Method
md5
The md5 checksum of the ROM that this game supports
src/ale/games/supported/Et.hpp:46
↓ 5 callers
Method
obs_data
Data access for workers to write into
src/ale/vector/types.hpp:139
↓ 5 callers
Method
render
src/ale/common/ScreenSDL.cpp:124
↓ 5 callers
Method
setDifficulty
(difficulty: number)
packages/wasm/ale.d.ts:45
↓ 5 callers
Method
setMode
(mode: number)
packages/wasm/ale.d.ts:42
↓ 5 callers
Method
setRAM
(index: number, value: number)
packages/wasm/ale.d.ts:34
↓ 5 callers
Method
signal
src/ale/external/lightweightsemaphore.h:105
↓ 5 callers
Method
stacked_obs_size
src/ale/vector/env_vectorizer.hpp:72
↓ 5 callers
Method
validate
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/Settings.cxx:57
↓ 5 callers
Method
wait
src/ale/external/lightweightsemaphore.h:89
↓ 5 callers
Method
write_to
src/ale/vector/preprocessed_env.cpp:228
↓ 4 callers
Function
EncapsulateFFICall
src/ale/python/ale_vector_xla_interface.cpp:616
↓ 4 callers
Method
applyPaletteGrayscale
src/ale/common/ColourPalette.cpp:100
↓ 4 callers
Method
applyPaletteRGB
src/ale/common/ColourPalette.cpp:72
↓ 4 callers
Method
get
Byte accessors
src/ale/environment/ale_ram.hpp:53
↓ 4 callers
Method
getCurrentMode
Get the current mode we are in.
src/ale/environment/ale_state.hpp:96
↓ 4 callers
Method
getFloat
(key: string)
packages/wasm/ale.d.ts:8
↓ 4 callers
Method
loadState
(state: Uint8Array)
packages/wasm/ale.d.ts:50
↓ 4 callers
Function
obs_equivalence
Tests the equivalence between two observations. This is critical as we found that MacOS ARM and Python implementation had minor differences in ou
tests/python/test_atari_vector_env.py:12
↓ 4 callers
Function
packRGB
src/ale/common/ColourPalette.cpp:31
↓ 4 callers
Method
peek
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/M6502Hi.cxx:44
↓ 4 callers
Method
peek
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
src/ale/emucore/M6502Low.cxx:42
↓ 4 callers
Function
process_board_state
src/ale/games/supported/VideoCheckers.cpp:33
↓ 4 callers
Function
readPieces
src/ale/games/supported/Backgammon.cpp:35
↓ 4 callers
Method
recv
Receive the next observations, rewards, terminations, truncations and info from the sub-environments.
src/ale/python/vector_env.py:223
↓ 4 callers
Method
restoreState
src/ale/ale_interface.cpp:382
↓ 4 callers
Method
saveState
()
packages/wasm/ale.d.ts:49
↓ 4 callers
Method
send
Send the actions to the sub-environments.
src/ale/python/vector_env.py:188
↓ 4 callers
Method
serialize
src/ale/environment/ale_state.cpp:116
↓ 4 callers
Method
setString
(key: string, value: string)
packages/wasm/ale.d.ts:9
↓ 4 callers
Method
step
Steps through the sub-environments for which the actions are taken, return arrays for the next observations, rewards, termination, truncation and info
src/ale/python/vector_env.py:181
next →
1–100 of 2,536, ranked by callers