![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
game
小游戏
好汤圆
耐得住寂寞 守得住繁华
热爱Java 热爱后端开发 欢迎交流!
展开
-
java开发扫雷游戏
我又来水博客了……把之前的库存发一发~开发工具:IDEA不到三百行代码即可开发一个简单的扫雷小游戏,只需掌握Java基础语法知识以及部分swing知识点即可~运行效果如图:项目中图片可自行从网络上寻找替换想要原始项目压缩文件可私聊博主~代码如下:package Mine;import javax.swing.*;import java.awt.*;import java.awt.event.ActionEvent;import java.awt.event.ActionList原创 2021-02-16 15:05:13 · 954 阅读 · 3 评论 -
Python实现2048小游戏(直接拿走运行)
运行效果:1.项目结构2.代码configs.pyimport argparsedef parse_args(): parser = argparse.ArgumentParser(description='Game 2048') # Form """ screen_width: Width of the form screen_height: Height of the form """ parser.add_argument('-原创 2021-02-26 11:35:56 · 4245 阅读 · 4 评论 -
Java实现2048小游戏(直接拿走运行)
运行效果:1.项目结构2.代码BaseData接口package com.hsy.game;import java.awt.*;public interface BaseData { Font topicFont = new Font("微软雅黑", Font.BOLD, 50); Font scoreFont = new Font("微软雅黑", Font.BOLD, 28); Font normalFont = new Font("宋体", Font.PLAI原创 2021-02-26 12:16:50 · 23983 阅读 · 52 评论