osvegn / gomoku Goto Github PK
View Code? Open in Web Editor NEWGomoku Epitech Project
Gomoku Epitech Project
Describe the bug
Additional context
2022-11-19T00:32:55.6130683Z Switched to a new branch 'main'
2022-11-19T00:32:55.6131115Z ##[endgroup]
2022-11-19T00:32:55.6131537Z [command]"C:\Program Files\Git\bin\git.exe" log -1 --format='%H'
2022-11-19T00:32:55.6131959Z 'dc3316e649ca37d22cb8194b002e64cfc2df787d'
2022-11-19T00:32:55.6488666Z ##[group]Run mkdir -p build
2022-11-19T00:32:55.6489069Z �[36;1mmkdir -p build�[0m
2022-11-19T00:32:55.6489318Z �[36;1mcd build && cmake .. && cmake --build .�[0m
2022-11-19T00:32:55.6634161Z shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
2022-11-19T00:32:55.6634470Z ##[endgroup]
2022-11-19T00:33:04.4370617Z
2022-11-19T00:33:04.4382545Z Directory: D:\a\Gomoku\Gomoku
2022-11-19T00:33:04.4382966Z
2022-11-19T00:33:04.4384794Z �[32;1mMode LastWriteTime Length Name�[0m
2022-11-19T00:33:04.4385263Z �[32;1m---- ------------- ------ ----�[0m
2022-11-19T00:33:04.4385749Z d---- 11/19/2022 12:33 AM build
2022-11-19T00:33:05.5520342Z -- Building for: Visual Studio 17 2022
2022-11-19T00:33:20.0873098Z -- The C compiler identification is MSVC 19.33.31630.0
2022-11-19T00:33:20.2400000Z -- Detecting C compiler ABI info
2022-11-19T00:33:21.5166630Z -- Detecting C compiler ABI info - done
2022-11-19T00:33:21.5196026Z -- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/14.33.31629/bin/Hostx64/x64/cl.exe - skipped
2022-11-19T00:33:21.5207251Z -- Detecting C compile features
2022-11-19T00:33:21.5220670Z -- Detecting C compile features - done
2022-11-19T00:33:21.5240508Z -- Configuring done
2022-11-19T00:33:21.5550203Z -- Generating done
2022-11-19T00:33:21.5564604Z -- Build files have been written to: D:/a/Gomoku/Gomoku/build
2022-11-19T00:33:21.6703621Z MSBuild version 17.3.1+2badb37d1 for .NET Framework
2022-11-19T00:33:22.1452282Z Checking Build System
2022-11-19T00:33:22.3192839Z Building Custom Rule D:/a/Gomoku/Gomoku/CMakeLists.txt
2022-11-19T00:33:22.4732360Z main.c
2022-11-19T00:33:22.4880733Z my_printf.c
2022-11-19T00:33:22.9627718Z readstdin.c
2022-11-19T00:33:23.0720499Z start_protocol.c
2022-11-19T00:33:23.0968807Z Generating Code...
2022-11-19T00:33:23.8795793Z readstdin.obj : error LNK2019: unresolved external symbol getline referenced in function readstdin [D:\a\Gomoku\Gomoku\build\pbrain-gomoku-ai.vcxproj]
2022-11-19T00:33:23.8796647Z D:\a\Gomoku\Gomoku\Debug\pbrain-gomoku-ai.exe : fatal error LNK1120: 1 unresolved externals [D:\a\Gomoku\Gomoku\build\pbrain-gomoku-ai.vcxproj]
2022-11-19T00:33:23.8796979Z
2022-11-19T00:33:23.8957687Z ##[error]Process completed with exit code 1.
2022-11-19T00:33:23.9143988Z Post job cleanup.
Create a basic architecture with CMake to allow compiling the beginning project.
Describe any alternative to the feature describe before here
Add any other context or screenshots here
Describe any alternative to the feature describe before here
Add any other context or screenshots here
Describe the solution you'd like
Additional context
Add any other context or screenshots about the feature request here.
Describe any alternative to the feature describe before here
BOARD
This command imposes entirely new playing field. It is suitable for continuation of an opened match or for undo/redo user commands. The BOARD command is usually send after START, RESTART or RECTSTART command when the board is empty. If there is any open match, the manager sends RESTART command before the BOARD command.
After this command the data forming the playing field are send. Every line is in the form:
[X],[Y],[field]
where [X] and [Y] are coordinates and [field] is either number 1 (own stone) or number 2 (opponent's stone) or number 3 (only if continuous game is enabled, stone is part of winning line or is forbidden according to renju rules).
If game rule is renju, then the manager must send these lines in the same order as moves were made. If game rule is Gomoku, then the manager may send moves in any order and the brain must somehow cope with it. Data are ended by DONE command. Then the brain is expected to answer such as to TURN or BEGIN command.
Example:
The manager sends:
BOARD
10,10,1
10,11,2
11,11,1
9,10,2
DONE
The brain answers:
9,9
Describe any alternative to the feature describe before here
END
When the brain obtains this command, it must terminate as soon as possible. The manager waits until the brain is finished. If the time of termination is too long (e.g. 1 second), the brain will be terminated by the manager. The brain should not write anything to output after the END command. However, the manager should not close the pipe until the brain is ended.
Expected answer: none
The brain should delete its temporary files.
Describe the bug
There isn't coverage percentage on badge, and codecov haven't any code
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'\
- Scroll down to '....'
- See error
Expected behavior
Codecov needs code to run, maybe a token error
Additional context
Add any other context about the problem here.
Describe the solution you'd like
Additional context
Add any other context or screenshots about the feature request here.
Add a vector library in C
Describe any alternative to the feature describe before here
Add any other context or screenshots here
Describe any alternative to the feature describe before here
Add any other context or screenshots here
Describe any alternative to the feature describe before here
Add any other context or screenshots here
Describe any alternative to the feature describe before here
Add any other context or screenshots here
Describe any alternative to the feature describe before here
Protocol website: https://plastovicka.github.io/protocl2en.htm
TURN [X],[Y]
The parameters are coordinate of the opponent's move. All coordinates are numbered from zero.
Expected answer:
two comma-separated numbers - coordinates of the brain's move
Example:
The manager sends:
TURN 10,10
The brain answers:
11,10
Describe any alternative to the feature describe before here
INFO [key] [value]
The manager sends information to the brain. The brain can ignore it. However, the brain will lose if it exceeds the limits. The brain must cope with situations when the manager doesn't send all information which is mentioned in this document. Most of this information is sent at the beginning of a match. The time limits will not be changed in the middle of a match during a tournament. It is recommended to react on commands at any time, because the human opponent can change these values even when the brain is thinking.
The key can be:
timeout_turn - time limit for each move (milliseconds, 0=play as fast as possible)
timeout_match - time limit of a whole match (milliseconds, 0=no limit)
max_memory - memory limit (bytes, 0=no limit)
time_left - remaining time limit of a whole match (milliseconds)
game_type - 0=opponent is human, 1=opponent is brain, 2=tournament, 3=network tournament
rule - bitmask or sum of 1=exactly five in a row win, 2=continuous game, 4=renju
evaluate - coordinates X,Y representing current position of the mouse cursor
folder - folder for persistent files
Describe any alternative to the feature describe before here
Add any other context or screenshots here
Describe any alternative to the feature describe before here
Add any other context or screenshots here
Describe any alternative to the feature describe before here
Add any other context or screenshots here
Describe any alternative to the feature describe before here
ABOUT
The brain is expected to send some information about itself on one line. Each info must be written as keyword, equals sign, text value in quotation marks. Recommended keywords are name, version, author, country, www, email. Values should be separated by commas that can be followed by spaces. The manager can use this info, but must cope with old brains that used to send only human-readable text.
Example:
The manager sends:
ABOUT
The brain answers:
name="SomeBrain", version="1.0", author="Nymand", country="USA"
Describe the solution you'd like
Windows executable is not found by the artifact uploader, find the correct path and update it.
Use an environnement to get release on main page
Additional context
Describe any alternative to the feature describe before here
Add any other context or screenshots here
Describe any alternative to the feature describe before here
Add any other context or screenshots here
Describe the solution you'd like
Fix tests that have been turn into comments.
Additional context
Add any other context or screenshots about the feature request here.
Describe any alternative to the feature describe before here
Protocol website: https://plastovicka.github.io/protocl2en.htm
START [size]
When the brain receives this command, it initializes itself and creates an empty board, but doesn't make any move yet. The parameter is size of the board. The brain must be able to play on board of size 20, because this size will be used in Gomocup tournaments. It is recommended but not required to support other board sizes. If the brain doesn't like the size, it responds ERROR. There can be a message after the ERROR word. The manager can try other sizes or it can display an error message to a user. The brain responds OK if it has been initialized successfully.
Example:
The manager sends:
START 20
The brain answers:
OK - everything is good
ERROR message - unsupported size or other error
Describe any alternative to the feature describe before here
Add any other context or screenshots here
Add all is needed to use all the protocols
Describe any alternative to the feature describe before here
Add any other context or screenshots here
Create basic function to read stdin fd, and fill the buffer passed as parameter
Describe any alternative to the feature describe before here
Add any other context or screenshots here
Describe any alternative to the feature describe before here
Add any other context or screenshots here
Describe the solution you'd like
Additional context
Add any other context or screenshots about the feature request here.
Describe any alternative to the feature describe before here
Add any other context or screenshots here
Describe any alternative to the feature describe before here
Add any other context or screenshots here
Describe any alternative to the feature describe before here
BEGIN
This command is send by the manager to one of the players (brains) at the beginning of a match. This means that the brain is expected to play (open the match) on the empty playing board. After that the other brain obtains the TURN command with the first opponent's move. The BEGIN command is not used when automatic openings are enabled, because in that case both brains receive BOARD commands instead.
Expected answer:
two numbers separated by comma - coordinates of the brain's move
Example:
The manager sends:
BEGIN
The brain answers:
10,10
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.