Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
4 votes
1 answer
377 views

Tic Tac Toe with only the 3 last moves

I wrote a Tic-Tac-Toe game that unlike the normal TTT only saves the last 3 moves. That means, that the first move will be removed on the 4th move and so on. To not necessarily extend the description ...
tacoshy's user avatar
  • 444
5 votes
1 answer
213 views

Tic-tac-toe with JS

I am a beginner and was hoping for some honest feedback on my js code. I struggled quite a bit on this, I did ask gpt to explain some concepts which I find it’s good for but wrote it all myself. <...
FeDev's user avatar
  • 61
5 votes
1 answer
358 views

Tic-Tac-Toe Game vanilla JS/CSS

I am practically brand new to coding and this is my first "real" project I've been attempting. It's an attempt at a vanilla JS game with selectable layout and win conditions (partially ...
Sumar's user avatar
  • 53
8 votes
2 answers
264 views

JavaScript Tic Tac Toe implementation

I've been trying to get into web development, so I made a quick Tic Tac Toe implementation. It feels messy to me, but I'm not sure what is really considered to be good practice and what not. Any poor ...
jasonshepherd's user avatar
9 votes
1 answer
914 views

A simple tic tac toe game in Javascript/HTML/CSS

This is my first web app written in JS. I would like to know how the code can be improved in terms of style and structure, especially in terms of following JS's conventions and general heuristics. I ...
L292092's user avatar
  • 409
2 votes
2 answers
238 views

Javascript Tic Tac Toe

I've created a Tic Tac Toe game in JS/HTML/CSS. Is there anyway this can be improved? Thanks Codepen: https://codepen.io/KhushrajRathod/pen/wvaeOaZ Github: https://github.com/KhushrajRathod/...
user avatar
5 votes
2 answers
2k views

Tic-Tac-Toe game made with JavaScript, HTML, and CSS

I am a beginner programmer. In a prototype function of the game function, called game.prototype.restart, I repeated some lines of code to reset variables I used to ...
icewizard's user avatar
  • 141
3 votes
1 answer
430 views

Tic Tac Toe in JavaScript (+ jQuery)

Here is my first project that I made with JavaScript and jQuery with a little bit of HTML and CSS: ...
Artbarte's user avatar
7 votes
2 answers
668 views

Tic Tac Toe implemented With jQuery table pseudo-buttons

I made this code myself and was experimenting with making buttons from a table, and decided to make a game of Tic-Tac-Toe with it. The code loads from JSON a grid, and then makes a Tic-Tac-Toe game ...
Jordan Jelinek's user avatar
3 votes
0 answers
592 views

React Tic Tac Toe

This is a project that grew out of the React Tutorial and is one of my first efforts at solving React problems on my own. There is a lot of code here and I am sure that there are more concise ways ...
Cameron's user avatar
  • 165
1 vote
2 answers
13k views

Tic-Tac-Toe game in JavaScript/HTML/CSS

I need help with a question my teacher wants us to do by tomorrow. I would love for you to try to help me out with this. The following functions must be implemented: A function that initializes all ...
SEWAY KAH's user avatar
1 vote
1 answer
505 views

Tic-Tac-Toe game with jQuery

I am a beginner at web development and I write code as a hobby. Would you please critique this code? I created a Tic-Tac-Toe game using HTML/CSS and jQuery. I did it for fun as a personal challenge....
tmachado's user avatar
19 votes
2 answers
45k views

Tic Tac Toe in plain JavaScript

I have created Tic Tac Toe game using plain JavaScript. Can any javascript expert review it and let me know whether the way I have written JavaScript code that is right (preferable)? I am unsure that ...
Sharath Bangera's user avatar