Skip to main content

All Questions

Filter by
Sorted by
Tagged with
5 votes
1 answer
858 views

AngularJS trivia game - separating controller from directive

I am creating a trivia game (purely for learning purposes) using AngularJS, NodeJS and MongoDB. My concern is related to the way I am organising the code in AngularJS. So far the game is functional, ...
Roco CTZ's user avatar
  • 153
7 votes
1 answer
686 views

JavaScript/Angular TicTacToe Minimax AI

I am interested in getting some feedback on the code for my TicTacToe game, implemented with AngularJS, particularly with respect to the AI logic, which is printed below. (The full code base is ...
clayreed's user avatar
2 votes
2 answers
603 views

2048 game implementation

I do not use JavaScript often, so I will be thankful if you could improve my code. It is my implementation of the game 2048. Here is a part of the Angular controller: ...
ceth's user avatar
  • 792
5 votes
1 answer
692 views

AngularFire Tic Tac Toe Game

I am building a Tic Tac Toe game with AngularJS and making it online playable with AngularFire. The Tic Tac Toe logic is all there so this question concerns Angularfire a little bit more. I want to ...
user3267289's user avatar