├── .gitignore ├── LICENSE ├── Makefile ├── Makefile_handout.mk ├── README.md ├── answer ├── csapp.h ├── expand_with_queue.cpp ├── expand_with_queue_mt.cpp ├── interact.cpp ├── just_open_many_channels.cpp ├── log.h ├── minesweeper_helpers.h ├── naive.cpp ├── naive_mt.cpp ├── naive_optim.cpp ├── simple_expand_single_thread.cpp ├── template.cpp └── wrappers.h ├── blank_counter.cpp ├── game_server.cpp ├── generate_example_maps.py ├── judger.cpp ├── lib ├── common.cpp ├── common.h ├── csapp.cpp ├── csapp.h ├── futex.cpp ├── futex.h ├── log.cpp ├── log.h ├── minesweeper_helpers.cpp ├── minesweeper_helpers.h ├── queue.cpp ├── queue.h ├── shm.cpp ├── shm.h ├── wrappers.cpp └── wrappers.h ├── map_generator.cpp ├── map_visualizer.cpp └── statement ├── en-us.md └── zh-cn.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/Makefile -------------------------------------------------------------------------------- /Makefile_handout.mk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/Makefile_handout.mk -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/README.md -------------------------------------------------------------------------------- /answer/csapp.h: -------------------------------------------------------------------------------- 1 | ../lib/csapp.h -------------------------------------------------------------------------------- /answer/expand_with_queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/answer/expand_with_queue.cpp -------------------------------------------------------------------------------- /answer/expand_with_queue_mt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/answer/expand_with_queue_mt.cpp -------------------------------------------------------------------------------- /answer/interact.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/answer/interact.cpp -------------------------------------------------------------------------------- /answer/just_open_many_channels.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/answer/just_open_many_channels.cpp -------------------------------------------------------------------------------- /answer/log.h: -------------------------------------------------------------------------------- 1 | ../lib/log.h -------------------------------------------------------------------------------- /answer/minesweeper_helpers.h: -------------------------------------------------------------------------------- 1 | ../lib/minesweeper_helpers.h -------------------------------------------------------------------------------- /answer/naive.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/answer/naive.cpp -------------------------------------------------------------------------------- /answer/naive_mt.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/answer/naive_mt.cpp -------------------------------------------------------------------------------- /answer/naive_optim.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/answer/naive_optim.cpp -------------------------------------------------------------------------------- /answer/simple_expand_single_thread.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/answer/simple_expand_single_thread.cpp -------------------------------------------------------------------------------- /answer/template.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/answer/template.cpp -------------------------------------------------------------------------------- /answer/wrappers.h: -------------------------------------------------------------------------------- 1 | ../lib/wrappers.h -------------------------------------------------------------------------------- /blank_counter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/blank_counter.cpp -------------------------------------------------------------------------------- /game_server.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/game_server.cpp -------------------------------------------------------------------------------- /generate_example_maps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/generate_example_maps.py -------------------------------------------------------------------------------- /judger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/judger.cpp -------------------------------------------------------------------------------- /lib/common.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/lib/common.cpp -------------------------------------------------------------------------------- /lib/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/lib/common.h -------------------------------------------------------------------------------- /lib/csapp.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/lib/csapp.cpp -------------------------------------------------------------------------------- /lib/csapp.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/lib/csapp.h -------------------------------------------------------------------------------- /lib/futex.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/lib/futex.cpp -------------------------------------------------------------------------------- /lib/futex.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/lib/futex.h -------------------------------------------------------------------------------- /lib/log.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/lib/log.cpp -------------------------------------------------------------------------------- /lib/log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/lib/log.h -------------------------------------------------------------------------------- /lib/minesweeper_helpers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/lib/minesweeper_helpers.cpp -------------------------------------------------------------------------------- /lib/minesweeper_helpers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/lib/minesweeper_helpers.h -------------------------------------------------------------------------------- /lib/queue.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/lib/queue.cpp -------------------------------------------------------------------------------- /lib/queue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/lib/queue.h -------------------------------------------------------------------------------- /lib/shm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/lib/shm.cpp -------------------------------------------------------------------------------- /lib/shm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/lib/shm.h -------------------------------------------------------------------------------- /lib/wrappers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/lib/wrappers.cpp -------------------------------------------------------------------------------- /lib/wrappers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/lib/wrappers.h -------------------------------------------------------------------------------- /map_generator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/map_generator.cpp -------------------------------------------------------------------------------- /map_visualizer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/map_visualizer.cpp -------------------------------------------------------------------------------- /statement/en-us.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/statement/en-us.md -------------------------------------------------------------------------------- /statement/zh-cn.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interestingLSY/hpcgame.minesweeper/HEAD/statement/zh-cn.md --------------------------------------------------------------------------------