In this section, you will find help setting up your coding environment. This project will take advantage of UCI’s openlab; any other coding environment is not supported.
Please notice, you need to load correct modules to run the sample AIs. You can add the following command in to your .bashrc file to do that:<br>
    To connect to openlab, you will need to use SSH. SSH stands for Secure SHell. It is a program designed to allow users to log into another computer over a network, to execute commands on that computer and to move files to and from that computer. A Mac user can use the terminal application, whereas, a Windows user will need to install PuTTY. You can download PuTTY from [here](https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html). Download the MSI installer for Windows, and run the installer for PuTTY.
### Connect to Openlab
    Connecting to openlab is as easy as SSHing into the openlab server. If you are on Windows and using PuTTY, type “openlab.ics.uci.edu” into the Host Name box; make sure the port is 22 and the SSH flag is ticked. Click open, and login using your ICS account info. If you are using a Mac, open the terminal found under Applications -> Utilities. Enter ‘ssh ICSUSERNAME@openlab.ics.uci.edu’ and login using your ICS account info.
    Once you have your environment setup, you can start to program your agent. In the ‘src’ folder of your shell you will find the source code of the project. You are only allowed to make changes to the StudentAI file. You **should not** delete any existing classes and variables, but you are allowed to add new classes and member variables/attributes.
## Compile Your AI
    For C++ coders, compiling your program is easy as executing the command `make` from the root of your source files (src/connect-k-cpp/).<br>
    For Java coders, to compile your program, you need to execute command `make build` to compile your source files, and the execute command `make jar` to compile all the .class files into one jar file. If you like, you can then use `make clean` to delete all .class files.<br>
    For python coders, you do not need to compile your program. Our runner can execute .py file directly.<br>
## Test Your AI
    To run your program after you have compiled it, navigate to the bin folder. You should find the compiled program inside. Refer to the Shell Manual Appendix for help running it.
## Write Your Project Report
    Write a report according to Professor’s instructions. Make sure your report is in **pdf** format. Template will be provided. The template is **under report folder.**
## Submit Your Project
    At this point you should have your most up-to-date source code in the ‘src’ folder and your also have submission.py script under tools. Please use the command `python3 submission.py` to make your zip file, and submit the zip file in Canvas <br>
    The Final report dues one day after Final AI. You should submit it a pdf version in canvas.
### Submission Checklist
1.Make sure you did not change the StudentAI class name.<br>
2.Make sure you did not change the signature of the constructor and getMove (cpp/java)/get_move(python) i.e. the arguments and function names.<br>
3.Make sure all your code is in StudentAI.cpp/.h/.java/.py file. You are not allowed to have multiple files for your AI (for C++ coders, you can have StudentAI.cpp and StudentAI.h, but no more).<br>
4.You should not print anything into Standard I/O. Please delete all your print function in your StudentAI file before submission.<br>
5.If you changed files other than Student.cpp/.h/.java/.py for testing reason, please pull the original code again and test your AI under original shell before your submission.<br>