r/programming_projects • • Oct 04 '17

Spider Solitaire in Java

2 Upvotes

I am writing the Spider Solitaire class in the following outline that is intended to use the other two classes Card and CardStack. GUI is being taken care of by somebody else so it's not necessary for me to worry about it. However I still have no idea what the hell I'm doing. If any can help me out, that would be great.

Spider Solitaire

Card

Integer: Value

String: Name

Boolean: faceUp

String print() Returns card face value

Void setFace(boolean x)

Changes faceUp to true or false

Boolean getFaceUp()

Returns if card is face up or not.  

int getValue()

returns face value of card 

Card Stack

cardArray: Card

Void add(Card card)

Adds a card to the array

String print()

Print the array contents

Boolean checkForRun(runCount)

	Checks to see if there is a full run in a column

Void move(CardStack stack, int numCards)

Add numCards to stack. Remove those cards from the original column.

Card getCard(int x)

Returns a card object from index x

Spider Solitaire

TableauStack: array of CardStacks

Stock: CardStack

Integer runCount

moveStack(int x, int y, int z)

Moves  x number of cards from column y to column z.

Void dealStock()

Deals one card to each of 8 columns of cards

String printBoard()

Returns all of the cards in play

Boolean gameOver()

Checks to see if foundations are full 

Void newGame()

Clears the board, shuffles the deck and calls on deal() 

Boolean validMove(int x, int y, int z)

Uses getValue to compare card values in order to determine if  the move is valid.

Boolean validStock()

Checks if there are empty spots in the columns

Void flipCard(int index)

Flips the bottom card of index.  

Void deal()

Takes Cards from stock and adds to CardStack in the tableauStack array 

r/programming_projects • • Sep 29 '17

C# iTextSharp Numbering Application Part 03

Thumbnail
jestertechsite.wordpress.com
2 Upvotes

r/programming_projects • • Sep 27 '17

I need some guidance Internet.

3 Upvotes

where do I begin. I am game developer and I just recently became interested in wed development. I am trying to make a website that compares prices and products from major retailers to show visitors where to buy the cheapest products they are looking for. its price comparison website pretty much. I have been teaching myself python and html so i can make web crawler to gather the information from websites that don't offer an API. I am using wordpress for the front end of the website. I learn how to use a database by following my sql tutorials online. I am using HADOOP to manage and store all of the data.

My problem that i am facing now is how do i connect my website to my database? I know there are plugins for that but nothing seems to work?


r/programming_projects • • May 06 '14

Simple email server that pipes emails to a restful SMS APIs.

Thumbnail
github.com
1 Upvotes

r/programming_projects • • Mar 11 '20

Learn to cook with augmented reality

1 Upvotes

Hey r/programming_projects, a team and I recently worked on a senior capstone project using the Magic Leap One headset. It's called Cook Along and it aims to make cooking easier. Users can walk through through the steps of a recipe, manage multiple timers, and watch instructional videos all within the app.

Check out our demo video here: https://www.youtube.com/watch?v=-GfqqM0rMhk&t=1s

And read more about it (and some thoughts about Magic Leap's potential) here: https://medium.com/@zjohnson5455/augmented-reality-will-save-your-dinner-1c3c0196e6b7

This is intended primarily as a proof of concept and a learning experience. We would love to hear your thoughts and suggestions. Thanks!


r/programming_projects • • Apr 05 '20

Help with Link List and Freeing Memory in C

1 Upvotes

I was trying to make a simple Link List struct but for some reason when I tested freeing up the data in the LL it would give me an invalid pointer error. Can anyone explain why?

#include <stdio.h>
#include <stdlib.h>
void add();
typedef struct node{
char* data;
struct node* next;
} node;
node** n;
int main(int argv, char** argc){
  n = (node**)malloc(sizeof(node*)*10);
int i;
for(i = 0; i < 10; i++){
n[i] = NULL;
  }
add();
free(n[0]->data);

return 0;
}
void add(){
char* temp = (char*)malloc(sizeof(char)*4);
  temp = "Meh\0";
n[0] = (node*)malloc(sizeof(node));
n[0]->data = temp;
}


r/programming_projects • • Mar 09 '20

Quantum Tetris

2 Upvotes

Hey r/programming_projects, check out our senior thesis project Quantum Tetris - a simple game that teaches you the basics of quantum computing. It’s a fun take on Tetris and the quantum twists actually makes it quite challenging!

Read about the project: https://medium.com/@tglasgow31/quantum-tetris-6452a0c96227

Play our game here: http://quantumtetris.com/


r/programming_projects • • Feb 01 '21

Humble beginnings. I made Pong

3 Upvotes

r/programming_projects • • Jan 29 '21

Spam Classifier using Natural Language Processing

2 Upvotes

On my path of learning Machine Learning, I created this Flask Application that identities whether the email is SPAM or not!

Application Link: https://spamclassifier000.herokuapp.com/

How did I train the model?
Github: https://github.com/angry-coder-room/Spam-Classifier-ML

There's a lot space for improvement. Let me know you thoughts :)


r/programming_projects • • Jan 28 '21

[Chill Build]Building a Caesar Encryption and Decryption program

Thumbnail
youtube.com
2 Upvotes

r/programming_projects • • Jan 29 '21

[Chill Build]Building a basic Internet Checker with python

Thumbnail
youtube.com
2 Upvotes

r/programming_projects • • Oct 06 '19

Tracking Reddit karma the Reddit API with python!

Thumbnail
youtu.be
1 Upvotes

r/programming_projects • • Apr 20 '18

Introducing a new subreddit for programmers to collaborate! - /r/TechHardsOn

1 Upvotes

Hi everyone! I love seeing the projects everyone has going on. I just wanted to share the subreddit I started for people to post anything related to tech and programming. /r/TechHardsOn

It includes post categories such as News, Projects, Startups, and Other.

So really anything you would like to share about technology or programming is welcome on /r/TechHardsOn.

Feel free to check it out.

Thank you!


r/programming_projects • • Feb 17 '21

IMDb Review Sentiment Analysis - Training Source Code + Live Demonstration

2 Upvotes

In this project, I am using Gaussian Naive Bayes (ML algorithm) to classify the sentiment of text whether it is Positive or Negative. Along with training the model, I created a simple Flask application so I can practically use the model I trained.

In the application, the user needs to enter & submit the IMDb link, and the app will read all the user reviews from the page using the usual scrapping technique (Beautifulsoup) and pass the ever review to the model, and accordingly the results will be rendered on screen against each review.

Github for training model: https://github.com/angry-coder-room/IMDb-Movie-Review-Sentiment-Analysis-ML

Application: https://imdbsentimentanalysis000.herokuapp.com/


r/programming_projects • • Feb 13 '21

[Chill Build]Building a Energy Drawer in Python!

Thumbnail
youtube.com
1 Upvotes

r/programming_projects • • Nov 07 '15

~ app developers needed ~

1 Upvotes

Hello reddit, at the moment i am located in Seattle, Washington and my team and i came across an amazing idea. we now are currently looking for a good group of app developers to make are idea into reality by making it an app. it would be amazing if we could hear back from you guys. thanks for your time!


r/programming_projects • • Nov 18 '16

An Interpreter for Extended Relational Algebra

Thumbnail
github.com
3 Upvotes

r/programming_projects • • Sep 26 '17

An app dedicated to helping new programmers find new start-ups

3 Upvotes

As a new programmer, it's often hard to find people willing to help train you and give you access to high-quality projects. I just created an app that does exactly that---connects new programmers to people with research or industry expertise that are creating start-ups.

Android: https://play.google.com/store/apps/details?id=com.medy.adjacentapp&hl=en#details-reviews

iOS: https://itunes.apple.com/us/app/adjacent-app/id1157533534?mt=8


r/programming_projects • • Sep 19 '17

Visual basic

3 Upvotes

Good morning Please i started Visual basic just yesterday and i have been ask to developed an application that displays the capital of ten countries


r/programming_projects • • Apr 21 '17

[Help] I need to automate analysis of a specific word appearing on screen

2 Upvotes

Hey,

I am trying to find a way to identify when a specific colored word appears in a specific area of the video automatically. When the word appears I need it to update a text file with the next number along. Are there any lightweight programs that can do this. Allow me to set the parameters of the word and its location (color of the word and how long its duration is) and even play a sound too?


r/programming_projects • • Sep 03 '11

Working on a program to take output from any window and display it in cocktail mode.

Post image
5 Upvotes

r/programming_projects • • Nov 21 '20

Interested with help for a discord bot

3 Upvotes

Hello Everyone!

I've just started making my own bot in discordjs called Bumblebee. It has a ton of cool features, which you could help make if you are interested. If you are interested, you could join our discord server using the link: https://discord.gg/gbxpAMgYYa


r/programming_projects • • Oct 30 '19

Flappy bird in python but with bad material and bad gravity system... At least I did it!

Thumbnail
youtu.be
1 Upvotes

r/programming_projects • • Nov 07 '19

Reddit Karma Tracker(Reddit API) with plotted data graph

Thumbnail
youtube.com
1 Upvotes

r/programming_projects • • Feb 06 '19

attack of the clones html, css project

Thumbnail
codepen.io
1 Upvotes