my -> mcts

This commit is contained in:
Mylloon 2023-03-29 13:53:17 +02:00
parent 0ce6c0ee8f
commit dd4e5824e9
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 6 additions and 6 deletions

View file

@ -12,27 +12,27 @@ RAPPORT = $(RAPPORT_DIR)/rapport.pdf
CP = rsync -r $(TAR_EXCLUDE)
MV = mv
SOURCES_RAND = $(filter-out src/my_player.cpp, $(wildcard src/*.cpp))
SOURCES_RAND = $(filter-out src/mcts_player.cpp, $(wildcard src/*.cpp))
OBJETS_RAND = $(patsubst %.cpp,%.cpp.o,$(notdir $(SOURCES_RAND)))
EXE_RAND = rand_player
SOURCES_ME = $(filter-out src/rand_player.cpp, $(wildcard src/*.cpp))
OBJETS_ME = $(patsubst %.cpp,%.cpp.o,$(notdir $(SOURCES_RAND)))
EXE_ME = my_player
EXE_ME = mcts_player
%.cpp.o: src/%.cpp
$(CXX) -c -o $@ $< $(CXXFLAGS) $(DEVFLAGS)
all:
$(MAKE) my_player
$(MAKE) mcts_player
$(MAKE) rand_player
rand_player: CXXFLAGS += -Wall -O2
rand_player: compilation_rand
my_player: CXXFLAGS += -Wall -O2
my_player: compilation_me
mcts_player: CXXFLAGS += -Wall -O2
mcts_player: compilation_me
dev: CXXFLAGS += -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic -Og -g
dev: CXXFLAGS += -Wold-style-cast -Wsign-conversion

View file

@ -1,6 +1,6 @@
#!/usr/bin/env pike
// pike run_many_games.pike -f ./rand_player -s ./rand_player -v 1 -p 1 -l 6 -c 4
// pike run_many_games.pike -f ./rand_player -s ./mcts_player -v 1 -p 1 -l 6 -c 4
// "Options:\n"
// " -n, --number=NB_GAMES the number of games to play\n"