Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First time GitHub user #35

Closed
BashirKad opened this issue May 21, 2021 · 2 comments
Closed

First time GitHub user #35

BashirKad opened this issue May 21, 2021 · 2 comments

Comments

@BashirKad
Copy link

Hi, I'm new to GitHub and while I don't have high hopes for the tournament I at least want to join along in the fun and see what I can code.

However, I'm really just not familiar with GitHub and how all the repositories work and Google can only get you so far. I've been able to download the entire repository into GitHub desktop, but I'm unable to clone or edit any of the pre-built strategies to create my own.

If anyone could help me out it'd be much appreciated!
(Also I use Mac if that matters in the way I need to set it up)

@jherndon8
Copy link

I'm not super familiar with Github desktop, but you can always the green "Code" button and hit "Download Zip" in the popup, then unzip it, and you have direct access to the files that way! You can open the unzipped folder in finder, open the files with your favorite text editor, and copy your favorite strategy with a new name, make some edits, and submit that file for the tournament!

If you want to run/test the code, you can right click the main repo folder named PrisonersDilemmaTournament (Command + up arrow takes you up a directory) and hit "New Terminal at folder." If you type "python3 prisonersDilemma.py" it should run it, and you can see all the results in results.txt! Definitely make sure your code runs here, it doesn't seem there's a way to edit a submission once you've attached your .py file.

Github is more useful if your trying to collaborate with others, so there's not too much of a need to keep track of this.

@carykh
Copy link
Owner

carykh commented May 21, 2021

Hello BashirKad! I'm happy you're interested in joining in, and fortunately, I don't think you need any GitHub experience to enter! Since you've downloaded the entire repository already, you've actually finished all the hard work. At this point, just follow what @jherndon8 said, and you should be good to go! (I was going to type my own instructions, but jherndon pretty much nailed it so yay)

@carykh carykh closed this as completed May 21, 2021
valadaptive added a commit to valadaptive/PrisonersDilemmaTournament that referenced this issue May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants