Coder Social home page Coder Social logo

genericchat's Introduction

This is an attempt to wrap my head around networking using Python
and the PodSixNet library.  

Requires Python 2.7, pygame, and passlib

What is working:
	-A generic chat program that works over a network. There
	are both client and server scripts, and any number of clients
	can connect to one server

	-Logging for both the server and the client.  However, it
	does appear that opening a log while the program is running
	breaks the log...and it appears to do so for the rest of the
	calendar day

	-Output is visible in both the console and the GUI

What is not working:
	-I seem to have misplaced the work I did on giving everyone
	an avatar and means to control it.  Re-implementing this
	will probably be next


Anyway, basic controls.

` or ~ (same key) opens the chat window
Just type messages and hit enter.
arrow key left or right moves the cursor
arrow key up or down scrolls through chat history
esc closes the chat window, but does not end the session
break (ctrl-c) in the console or press the end key in game to exit
f8 toggles fullscreen
prtscn to take a screenshot


To run the program:
Launch an instance of the server, using the syntax provided if you screw it up. (start with python GenericServer.py)

Launch 2 or more instances of the client, using the syntax it provides.

Chat with yourself!  Or if you're lucky enough to have friends willing to demo
an underdeveloped program, chat with them!

Both server and client logs are found in the "log" directory

the passwordHash file in the serverData directory contains all the passwords.  If you're getting immediate disconnects by clients on connection, try deleting this file.
Everyone will have to re-enter their passwords the next time they log in, but it should help clear up issues related to corrupted hashes in this file.

genericchat's People

Contributors

buckets1337 avatar justinlomelino avatar

Watchers

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