How vencc/game works
Project type and purpose
• This is a standalone Java-based online Gomoku (五子棋) client application with optional local human-AI play and an online multiplayer mode.
• No heavy frameworks are used—just core Java, Swing for UI, JDBC for database access, and sockets for networking.
File structure
• Top-level “src” contains packages:
• chess – Swing UI forms, main entry point, game table and lobby screens
• dao – Database access layer (BaseDao, IUserDao)
• entity – Domain models (User, RoomPojo, UpdatePicture)
• msg – Message definitions (Client* and Server* classes for every action/event)
• net – Networking layer (MyClient, MyServer)
• util – Utility classes (AudioPlayer, ChessImpl, UI renderers)
• “resource” holds static assets: audio clips, images, SQL script, third-party jars (MySQL connector, mail libs).
• README describes two modes: local human-robot game and online mode (requires MySQL user table and configuration in BaseDao/MyClient).
README
• Explains overall function, dependencies (database, IP), and no additional frameworks.
7. Every critical path—login, room listing, move exchange, game over—is represented.