Code Monkey home page Code Monkey logo

lap-trinh-mang's Introduction

Lập trình mạng

Dự án môn Lập trình mạng: Trò chơi Cờ caro sử dụng Java Socket theo mô hình CLient-Server.

USAGE:

Database

NOTE: Schema tên caro đã bị loại bỏ, thay vào đó hãy tạo schema tên mydb trước khi sử dụng.

Tạo schema tên mydb chứa 2 bảng useruser_infomation, có thể sử dụng các file chứa trong thư mục dumps.

Khởi chạy phía Server

NOTE: Hãy import các file trong thư mục driver vào project phía Server trước khi khởi chạy. Đồng thời sửa lại đường dẫn trong database.class phía Server (nếu cần thiết).

Khởi chạy ServerCaro.class.

Khởi chạy phía Client

Trong phiên bản hiện tại, trước khi khởi chạy, cần xác định trước IP phía chủ phòng chơi. Điền IP vào hàm khởi tạo CaroClient() trong CaroClient.class. Khởi chạy ClientCaro.class.

INCLUDE:

1. ServerCaro

Project chạy trên Server

2. ClientCaro

Project chạy phía Client

3. dumps

Thư mục chứa các file câu lệnh khởi tạo CSDL

4. driver

Thư mục chứa driver JDBC mysql-connector-java-5.1.48-bin.jar.

5. File báo cáo - report.pdf

lap-trinh-mang's People

Contributors

nptran avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

tritran14

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.