405 Topics

Member Avatar for
Member Avatar for lilindiekid

Can anyone help me to write combat class? 1. Combat between two creature cards: Reduce the defending creature’s HP by the attack power of the attacking creature card AND reduce the attacking creature’s HP by the attack power of the defending creature card. If either the attacker or the defender …

Member Avatar for rproffitt
0
61
Member Avatar for lilindiekid

1. Combat between two creature cards: Reduce the defending creature’s HP by the attack power of the attacking creature card AND reduce the attacking creature’s HP by the attack power of the defending creature card. If either the attacker or the defender or both of them is/are reduced to 0 …

Member Avatar for rproffitt
0
105
Member Avatar for lilindiekid

Hi guys! I am currently using c++ and I wanted to start doing basics of a game with oop. And I thought MGT would be good. So, the problem is idk where to start with. I'm planning to use only Land, Creature, Enchantment and, Sorcery cards. so is there any …

Member Avatar for JamesCherrill
0
140
Member Avatar for nec4r

You are given a file called “std” and composed of “Number, Name, Address” fields/attributes. (You can define the type of fields by yourself) Write an algorithm that makes “insert, delete, update and retrieve”, processes on the records in the file. “Number” field is the key of each record. Here is …

Member Avatar for rproffitt
0
56
Member Avatar for Jonah_4

What are the byte values of basic data types : char , int , long , long long, float, double.?(using sizeof() )?

Member Avatar for Husoski
0
138
Member Avatar for ytgaamer

I am making a tic tac toe game, and have completed it. Now I am trying to implement a library to my code and I chose ncurses, because it seems easier to add and will allow me to change the color of the input for the game. However, I can't …

Member Avatar for rproffitt
0
146
Member Avatar for Rawad_1
Member Avatar for rproffitt
0
21
Member Avatar for Firas_5
Member Avatar for Prajkta_2

Create a code using python of random walk where food is placed in spots on the grid. Whenever a Walker runs into the food it eats it and reproduces

Member Avatar for rproffitt
0
149
Member Avatar for mirzamoneeb0
Member Avatar for user56rj

I have an assignment due for my ap computer science principals class and I have no clue on how to do it. I’m willing to pay!!!

Member Avatar for Naheedmir
0
85
Member Avatar for Syed_26
Member Avatar for A-33 Gaurav

Selection sort uses the greedy techique, do all other sorting algorithm follow greedy technique?

Member Avatar for rproffitt
0
43
Member Avatar for faarrukhjamal

I tried alot to print this arrow with random generated values which are 0101 , every time it should be differnt, please help me out thanks :) ![Untitled1.png](/attachments/large/4/c843d1e3a2cf1464dc1f1eb7c0d4a68a.png)

Member Avatar for Smartfitness33
0
1K
Member Avatar for Ilda_1

Hello! Can someone help me with coding in R ? I am new to R and I need to solve this project. It has been so many days I dont find a solution. This is the problem : You are an online movie and concert ticket service. Visitors go to …

Member Avatar for rproffitt
0
277
Member Avatar for Daniel_118

# Find minimum integer coefficients for a chemical reaction like # A * NaOH + B * H2SO4 -> C * Na2SO4 + D * H20 import sympy import re # match a single element and optional count, like Na2 ELEMENT_CLAUSE = re.compile("([A-Z][a-z]?)([0-9]*)") def parse_compound(compound): """ Given a chemical compound …

Member Avatar for JamesCherrill
0
405
Member Avatar for Daniel_118

Is there a way to solve for a system of multiple equations with multiple variables and variables on both sides in java Lets say im given three (or more) equations in an array list or array like so... 4A=1C 10A=2D 2B=2C+1D and im allowed to set one variable equal to …

Member Avatar for rproffitt
0
326
Member Avatar for Felipe_4

How are you? Greetings to all of you. I have a task and that is to find the complexity of the counting algorithm sort line by line to finally find the T(n). The truth is that it has been quite a complicated subject for me, but I have been working …

Member Avatar for rproffitt
0
285
Member Avatar for jimmichaels29

analyze the problem. walkthrough the code. I would like to charge for this solution $10 to Renewal Computer Services, if I may post here (kids & teens free). when -50 is reached, doesn't blow past the maxvalue+1U and cause a cpu-hogging forever loop, it doesn't actually reach -50 equivalent (UINTMAX-49). …

0
186
Member Avatar for Sulayman_2

I have tried to get the standard deviation, but it doesn't work. int[]scores = { 52, 69, 85, 98, 95, 76, 82, 83, 92, 87, 94, 68, 77, 45, 70, 71, 59, 60, 74, 84, 83, 73, 75, 78, 80, 92, 91, 97, 62, 84 }; void standardDeviation() { float …

Member Avatar for JamesCherrill
0
147
Member Avatar for John_238

I created a calculator only using the scripting commands in the video game Counter-Strike, bind (for input) echo (for output) and alias (for the logic). Bind is to connect keys to a command or string of specified commands, echo is to output text to the console, and alias is a …

Member Avatar for rproffitt
0
331
Member Avatar for UNIQUE_PRINCE

Design a function named max that accepts two integer values as arguments and returns the value that is the greater of the two. For example, if 7 and 12 are passed as arguments to the function, the function should return 12. Use the function in a program that prompts the …

Member Avatar for UNIQUE_PRINCE
0
358
Member Avatar for Zainab_7

I have this Question , I want the answer and show me how to solve it Please : Analyze the running time of the following algorithm using Big-Oh notation maxerea =0; maxpt1 =maxpt2 = maxpt3 =0; for(i =1;i<=n;i++) for(j =i+1;j<=n;j++) for(k =j+1;k<=n;k++){ empty = True; for(l =1;l<=n;l++){ if((l != i) …

Member Avatar for Dani
0
375
Member Avatar for Zainab_7
Member Avatar for rproffitt
0
353
Member Avatar for Zainab_7

I see this Question in a diploma in computer science Exam in Algorithm , and i need help to solve it : Algorithm A1 takes n^2 days to solve a problem of size n . Algorithm A2 takes 2^n seconds on the same problem . Detrmine how large of a …

Member Avatar for JamesCherrill
1
571
Member Avatar for Yakob Tamrat
Member Avatar for Reverend Jim
0
381
Member Avatar for Agra_1

I try to evaluate working time of Tjuring machine, but I really don't know how to do it. I try to evaluate working time of Turing machine. I understand, I have to calculate number of steps used in every stage. My problem is: how can I know, how many steps …

Member Avatar for rproffitt
0
307
Member Avatar for Urfa2

Need help modifying this code to add to my code. My code creates a grid but does not check if a word exists or not yet. Also, it should be user interface, user types in word, and computer outputs yes or no. // C++ program to check if the word …

Member Avatar for JamesCherrill
0
385
Member Avatar for Xozz

Hello. I have a question: I have a portable harddisc, with files on it. Now I want to encrypt a certain folder on it. It contains a couple of files which take some megs. What's the best way to do this? Thanks in advance, Leon

Member Avatar for dave.anderton.2753
0
347
Member Avatar for Mohan_1845

I couldn't install the tensorflow framework in my laptop.can anyone help me out in installing tensorflow for doing my project on deep learning techniques.

Member Avatar for rproffitt
0
324

The End.