University of Seoul - Internet Programming
Term Project by Team 6
- 2015920003 gunhoflash
- 2017920061 KimMalsu
- 2017920049 LeeMir
If your server doesn't work, check your firewall and port forwarding settings.
php -S 0.0.0.0:{PORT}
php server.php
{SERVER IP HERE}:{PORT}
1. Launch Bitnami WAMP Stack.
2. Type this command on WAMP Stack.
> mysql -u root -p
3. Create Database named kkutudb.
> create database kkutudb;
> use kkutudb;
4. Use Source command to import DB in your MySQL.
For example,
> source c:\path\to\file.sql
5. You should change line 22 in server.php to connect MySQL.
> SELECT count(*) FROM kkutudb.kkutu_ko;
> SELECT count(*) FROM kkutudb.kkutu_en;
With these commands, you can count rows in the table.
You should have 147023 rows with english db and 430053 with korean db.
/ ┬ libs ┬ GameRoom.php
│ ├ KKuTuCSRequest.php
│ ├ socketHandle.php
│ └ wordCheck.php
├ public ┬ css ┬ bootstrap.custom.css
│ │ ├ css.min.css (bootstrap.custom.css + mystyle.css)
│ │ └ mystyle.css
│ ├ img ┬ kkutucs_char.png
│ │ └ logo.png
│ ├ js ┬ bootstrap.bundle.min.js
│ │ ├ client.js
│ │ ├ jquery-3.3.1.min.js
│ │ ├ js.min.js (client.js + socketCommunicate.js)
│ │ └ socketCommunicate.js
│ └ media - (skip)
├ .gitignore
├ favicon.ico
├ game.html
├ index.html
├ KKuTuDB.sql
├ LICENSE
├ README.md
└ server.php
- PHP
- Document: php.net
- Websocket(server - PHP)
- Introduction: NAVER D2
- Supported Browsers: Can I use
- Example for Simple Communication: CUELOGIC
- Example for Multiple clients: Nolan's Blog
- Websocket(client - JS)
- JJoriping
- All of testers