lab2d
A customisable 2D platform for agent-based AI research
File Explorer
Download Latest Version (.zip)- make_wheel.yml
- precommit.yml
- pypi_upload.yml
- BUILD
- dm_env.BUILD
- eigen.BUILD
- lua5_1.BUILD
- lua5_2.BUILD
- luajit.BUILD
- png.BUILD
- pybind11.BUILD
- tree.BUILD
- zlib.BUILD
- BUILD
- command_line_interface_main.cc
- actions.cc
- actions.h
- actions_test.cc
- BUILD
- env_lua_api.cc
- env_lua_api.h
- env_lua_api_test.cc
- episode.cc
- episode.h
- episode_test.cc
- events.cc
- events.h
- events_test.cc
- observations.cc
- observations.h
- observations_test.cc
- properties.cc
- properties.h
- properties_test.cc
- args.lua
- args_test.lua
- class.lua
- class_test.lua
- helpers.lua
- image_helpers.lua
- image_helpers_test.lua
- log.lua
- log_test.lua
- paths.lua
- paths_test.lua
- properties.lua
- properties_test.lua
- read_settings.lua
- read_settings_test.lua
- set.lua
- set_test.lua
- strings.lua
- strings_test.lua
- tables.lua
- tables_test.lua
- tile_set.lua
- BUILD
- images.lua
- init.lua
- level.lua
- maps.lua
- play.py
- apple.png
- banana.png
- diamond.png
- mud.png
- wall.png
- water.png
- avatar.lua
- avatar_list.lua
- BUILD
- images.lua
- init.lua
- maps.lua
- play.py
- simulation.lua
- avatar.lua
- avatar_list.lua
- BUILD
- images.lua
- init.lua
- maps.lua
- play.py
- simulation.lua
- level_api.lua
- level_api_discrete_only.lua
- api_factory.lua
- BUILD
- images.lua
- init.lua
- play.py
- avatar.lua
- avatar_list.lua
- BUILD
- images.lua
- init.lua
- maps.lua
- play.py
- simulation.lua
- asserts.lua
- asserts_test.lua
- mocking.lua
- mocking_test.lua
- test_runner.lua
- api_factory.lua
- tile_set.lua
- init.lua
- module.lua
- bind.h
- bind_test.cc
- BUILD
- call.cc
- call.h
- call_test.cc
- class.h
- class_test.cc
- lua.h
- n_results_or.h
- n_results_or_test_util.h
- push.h
- push_script.cc
- push_script.h
- push_script_test.cc
- push_test.cc
- read.h
- read_test.cc
- ref.cc
- ref.h
- ref_test.cc
- stack_resetter.h
- stack_resetter_test.cc
- table_ref.cc
- table_ref.h
- table_ref_test.cc
- vm.cc
- vm.h
- vm_test.cc
- vm_test_util.h
- empty_test_file
- file_with_text.txt
- BUILD
- file_system.cc
- file_system.h
- file_system_test.cc
- file_system_test.lua
- BUILD
- file_system.h
- BUILD
- pushbox.cc
- pushbox.h
- pushbox_test.lua
- BUILD
- pushbox.cc
- pushbox_test.py
- BUILD
- constants.h
- pushbox.cc
- pushbox.h
- random_room_generator.cc
- random_room_generator.h
- room.cc
- room.h
- room_candidate_generator.cc
- room_candidate_generator.h
- BUILD
- fixed_handle_map.h
- fixed_handle_map_test.cc
- handle.h
- handle_names.h
- handle_names_test.cc
- handle_test.cc
- object_pool.h
- object_pool_test.cc
- shuffled_membership.h
- shuffled_membership_test.cc
- shuffled_set.h
- shuffled_set_test.cc
- BUILD
- grid_test.lua
- lua_grid.cc
- lua_grid.h
- lua_grid_view.cc
- lua_grid_view.h
- lua_grid_view_test.cc
- lua_handle.h
- lua_world.cc
- lua_world.h
- lua_world_test.cc
- world_test.lua
- BUILD
- grid.cc
- grid.h
- grid_shape.h
- grid_shape_test.cc
- grid_test.cc
- grid_view.cc
- grid_view.h
- grid_view_test.cc
- grid_window.h
- handles.h
- sprite_instance.h
- text_tools.cc
- text_tools.h
- text_tools_test.cc
- world.cc
- world.h
- world_test.cc
- testL.png
- testRGB.png
- testRGBA.png
- BUILD
- image_test.lua
- lua_image.cc
- lua_image.h
- lua_image_test.cc
- BUILD
- math2d.cc
- math2d.h
- math2d_test.cc
- BUILD
- math2d.h
- math2d_algorithms.h
- math2d_algorithms_test.cc
- math2d_test.cc
- BUILD
- random.cc
- random.h
- random_test.cc
- BUILD
- tensor.cc
- tensor.h
- tensor_benchmark.cc
- tensor_test.cc
- BUILD
- tensor_view.cc
- tensor_view.h
- tensor_view_test.cc
- BUILD
- tile.cc
- tile.h
- tile_scene.cc
- tile_scene.h
- tile_scene_test.cc
- tile_set.cc
- tile_set.h
- tile_set_test.cc
- tile_test.lua
- BUILD
- pixel.h
- pixel_test.cc
- tile_renderer.cc
- tile_renderer.h
- tile_renderer_test.cc
- tile_set.cc
- tile_set.h
- tile_set_test.cc
- BUILD
- lua_level_test.cc
- lua_testing.bzl
- lua_unit_test.cc
- BUILD
- default_read_only_file_system.cc
- default_read_only_file_system.h
- file_reader.cc
- file_reader.h
- file_reader_test.cc
- file_reader_types.h
- files.cc
- files.h
- files_test.cc
- test_srcdir.cc
- test_srcdir.h
- visit_set_difference_and_intersection.h
- visit_set_difference_and_intersection_test.cc
- BUILD
- dmlab2d.cc
- dmlab2d.h
- dmlab2d_test.cc
- __init__.py
- BUILD
- dmlab2d_pybind.cc
- dmlab2d_pybind.lds
- dmlab2d_pybind.syms.lds
- dmlab2d_test.py
- random_agent.py
- runfiles_helper.py
- settings_helper.py
- settings_helper_test.py
- ui_renderer.py
- file_system.md
- generators_pushbox.md
- grid_world.md
- image.md
- random.md
- tensor.md
- tile.md
- lua_levels_api.md
- screenshot.png
- BUILD
- env_c_api.h
- env_c_api_bind.h
- env_c_api_example.cc
- env_c_api_example.h
- env_c_api_example.lds
- env_c_api_example.syms.lds
- env_c_api_example_test.cc
- env_c_api_test_suite.cc
- env_c_api_test_suite.h
- LICENSE
- .bazelrc
- .gitignore
- AUTHORS
- BUILD
- build_defs.bzl
- CONTRIBUTING.md
- install.sh
- LICENSE
- python_system.bzl
- README.md
- WORKSPACE
# Installation Guide
1. Get the code
git clone https://github.com/google-deepmind/lab2d
Downloads the entire project code from GitHub to your computer.
cd lab2d
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Python 3 Python is required to use pip.
pip install dmlab2d
Installs the package published on PyPI directly β no need to clone the source.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
