Giter Site home page Giter Site logo

multi-tetris's Introduction

사용된 기술

  • Programming Language : JAVA (JDK 1.8.0_191)
  • UI Framwork : Swing
  • Database : Oracle Database 11g Express Edition

프로젝트 소개

싱글 플레이와 1대1 대전이 가능한 테트리스 게임이다.

Socket/Thread를 통해 여러 컴퓨터에서 동시에 접속해 게임을 즐길 수 있도록 구성했다.

싱글 플레이를 통해 기록을 갱신할 수 있고 이를 통해 다른 사용자와 경쟁할 수 있다. Score가 높아질수록 점점 게임의 속도를 증가시켜 플레이어가 도전하는 재미를 얻을 수 있도록 구현했다.

대기실을 통해 다른 플레이어와 1대1 대전을 즐길 수 있다. 여러줄을 한번에 터뜨리면 상대방에게 공격이 가도록 구현해 서로 경쟁함에 있어서 재미있는 요소를 추가했다. 서로 대전한 결과를 사용자의 상태정보에서 확인할 수 있고 그에 맞게 승률이 출력되도록 구현했다.

기능 소개

1 2 3 4 5 6

사용법

Server

  1. Tetris Server 폴더를 서버 컴퓨터에 다운로드 받는다.
  2. Oracle Database 11g Express Edition 을 설치한다. 다운로드
  3. 데이터베이스에 접속해 tetrisDB 사용자를 추가하고 패스워드를 tetris로 등록한다.
  4. [1] 쿼리를 이용해 테이블을 생성한다.
  5. Tetris Server를 실행한다.

[1] create table users(ID varchar(32) primary key, PW varchar(32) not null, NAME varchar(32), HIGH_SCORE number, TOTAL_WIN number, TOTAL_LOSE number, TOTAL_RATING float(2));

Client

  1. Tetris Client, Tetris DB, Font 폴더를 클라이언트에 다운로드 받는다.
  2. Tetris DB, Font 폴더를 C드라이브 밑으로 이동시킨다.
  3. Tetris Client를 실행한다. (EXE파일로 만들어 배포하면 Eclipse 없이 사용 가능.)

multi-tetris's People

Contributors

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