prompts.chatprompts.chatprompts.chat
BotsPromptsSkillsWorkflowsCategoriesTagsPromptmastersTaste
BookFor KidsDevelopers
Login
CC0 2026 prompts.chat
DeepWikiHow to...DocsAPIPrivacyTermsSupportAboutGitHub

Create a single-page application based on Vue3 + TypeScript + Vite to generate a modularized, type-safe Gomoku game.

Modern Frontend Engineering Project: Gomoku Game — Create a single-page application based on Vue3 + TypeScript + Vite to generate a modularized, type-safe Gomoku game.

邱
@loshu2003
9 months agoJanuary 24, 2026 at 11:57 AM
Coding•AI Tools

Content

Modern Frontend Engineering Project: Gomoku Game — Create a single-page application based on Vue3 + TypeScript + Vite to generate a modularized, type-safe Gomoku game.
The application must display the following core modules using Composition API and reactive data:
Board Component (GomokuBoard.vue): Render a 15×15 board using Canvas or CSS Grid, listen for moves via the @click event, and accept boardData and currentPlayer as Props.
Game Logic Composable (useGomoku.ts): Encapsulate reactive states (2D board array, current player, move history), core methods (move validation makeMove, win detection checkWin, undo undo), and computed properties (win status).
UI Control Layer (App.vue): Integrate the board component, functional buttons (restart, undo, mode switch), and a status panel (current player, win info), implementing interactions by calling the useGomoku composable.
Engineering Configuration: Vite build tool, TypeScript type definitions (e.g., BoardState, Player enum), and SCSS modular styling (global variables, board themes).
The interface requires a modern minimalist design (dark board, piece shadows, interactive animations), with all code organized according to Vue SFC standards. TypeScript must define board state interfaces and implement directional traversal algorithms,  achieving an engineering-oriented and maintainable chess application.

Related Prompts

Chess Game

Text

Develop a feature-rich chess game

F@f
0

Next.js React Comprehensive Clash of Clans Tool

Text

Develop an integrated Clash of Clans tool using Next.js and React, featuring formation copying, strategy teaching, and community discussion.

w@huwei19950627

Comments (0)

0

Sudoku Game

Text

Create an interactive Sudoku game

F@f
0

Visual Web Application Development

Text

Guide for creating a visually appealing web application with modern design principles.

D@daveeliam
1