CSI-280 / MusicGames

0 stars 0 forks source link

Initial games #24

Closed lenora4321 closed 4 years ago

lenora4321 commented 4 years ago

I have implemented tic-tac-toe in a react component. You can play against the AI, and it will stop you when someone has won or tied. Right now it's just sitting on the homepage, but sine it is a component, it can be moved easily to a games page once we have it. It also does not add points yet, since I don't know how far our database is, but adding that feature shouldn't be too hard. Play a few rounds and tell me what y'all think.

A-Waters commented 4 years ago

I don't really see anything particularly wrong with it, but I am confused... but it's alright. I think it's fine, its just a lot of files were changed that I don't think you edited personally... but I think that is just the dependencies updating? and the .pyc files recompiling? What files did you edit?

lenora4321 commented 4 years ago

I'm not sure about the individual files besides app.js and the tic-tac-toe files (js and css), but I did totally forget to mention that I decided to use jquery for my js coding. It makes manipulating elements a lot easier and is totally optional file by file, but it is included on the tic-tac-toe page. If this pull request get approved, I will have to add documentation for it to the readme, since it is another library, but no one else has to use it unless they want to, and it is installed easily with npm.