GithubHelp home page GithubHelp logo

gold_miner's Introduction

注意

本项目不再维护,修改项目可见性为public

主要内容

  • 开始界面(开始、继续、退出、排行榜、帮助)

  • 游戏本体

    金矿、石头、背景、计分、计时

    文件、音乐、商店(拉取速度增加,积分增加,石头价值增加,钩子变大)

  • 菜单(暂停、继续、保存游戏、读取游戏、金手指、帮助)及其配套快捷键

  • 双人内容

结构类型

矿物结构及其链表

typedef enum{  //矿物类型
    GOLD,
    STONE,
    DIAMOND
} rockType;

typedef enum{  //矿物大小
    SMALL,
    MEDIUM,
    LARGE
} rockSize;

typedef struct{
    double x, y;  //用于表示矿物位置
    rockSize size;  //用于表示矿物大小
    rockType type;  //用于表示矿物类型
} block;

typedef struct linkBlock{
    void* element;
    struct linkBlock* next, *prev;
} linkBlock;

玩家存档结构

typedef struct{
    int level;
    int score;
    int money;
    int grades[4];  //储存四项能力的等级(分别是拉取速度增加,积分增加,石头价值增加,钩子变大)
} player;

gold_miner's People

Contributors

wandleshen avatar yifei-zhuang avatar

Stargazers

 avatar  avatar  avatar  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.