Giter Club home page Giter Club logo

snakename's Introduction

贪吃蛇功能

1.管理类————>很多类————>类的功能不同

根据类的功能不同,将相同功能的类放到同一个包中

窗体类————>com.jt.frame包

面板类————>com.jt.panel包

对数据库表操作类————>com.jt.dao包

实体类————>com.jt.po包

工具类(数据库工具类...)————>com.jt.util包

2.创建数据库snakegame

用户表user

排行表rank 主键id(自增)、分数、时间、用户id

3.创建登录界面

创建登录界面的窗体类LoginFrame(com.jt.frame)

设置图标————>Image————>ImageIcon————>getImage()

创建用于获取图片的工具类ImageUtil(com.jt.util)

创建登录界面的面板类LoginPanel(com.jt.panel)

根据用户名及密码对user表查询jdbc

对user表的操作————>UserDao

对rank表的操作————>RankDao

blog地址 https://xubuhui.coding.me/

snakename's People

Contributors

xubuhui avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.