Code Monkey home page Code Monkey logo

java_project_v2's Introduction

線上卡排遊戲


遊戲發想動機

結合現今卡排遊戲---爐石,和兒時卡通片遊戲王中的情節而想到的。


遊戲架構

  • Server-Client Server端主要功能是維護Players的配對,並擔任中間者,傳遞Players間的訊息封包。
    Client端主要負責遊戲中的計算,例如畫面的更新,判斷遊戲進行的階段。

  • 示意圖 Game structure

  • A more detail about client side
    Imgur


如何玩這個遊戲?

  • Pre-required

    • Before you go to the next step,make sure you have
    • installed "java ant" in your computer.
  • Java ant install on Linux

    sudo apt-get update
    sudo apt-get install ant

  • Linux/Windows System user

      1. git clone [this project link] [your folder]
      1. Go to your folder,and go to folder [your_folder_name]/[GameClient].
      1. type "make" in your terminal to compile the essential code first.
      1. then you can play the game...
    • " make client " to execute the code of client side(Player).
    • " make server " to execute the server.

遊戲執行畫面

  • Server 需先執行(讓Client 端連上用的)

Linux: "ifconfig" 查詢IP
Windows: "ipconfig" 查詢IP
server

  • Client 執行(遊戲主畫面)
    main

  • 玩家設定

基本玩家設定

  1. 玩家頭貼
  2. 玩家ID
  3. 玩家性別
    player-setting
  • 卡排選擇

選擇遊戲時,玩家擁有的三張角色卡牌
Choose-card

  • 遊戲畫面 Imgur

共同開發者

  • 陳殿善
  • 林建宏
  • 張頌宇
  • 劉正仁

java_project_v2's People

Contributors

dianshan14 avatar shuuta avatar timcsy avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

dianshan14 shuuta

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.