Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - gulshan212

Pages: [1]
1
Other Announcements / Best AI Headshot Generators
« on: February 12, 2024, 12:34:05 PM »
Well, I'm currently exploring AI headshot generators for various creative projects, and I'm interested in gathering recommendations from the community. I'm particularly interested in tools that offer a user-friendly interface, high-quality output, and perhaps unique features that set them apart. Whether it's for artistic endeavors, game development, or any other application, I'd love to hear about your go-to AI headshot generator and what makes it stand out.
In my search, I came across https://getalter.ai/, in which the author talks about generating AI headshots and I am looking for similar platforms. Can anyone share their experiences and suggestions regarding the best AI headshot generators available?
Thanks   

2
Design / Parameter to find best UI/UX bootcamp
« on: October 31, 2023, 08:28:03 AM »
Since few days I am searching for the parameter to check best UI/UX design bootcamps for learning UI/UX design, because according to https://top10codingbootcamps.com/blog/a-guide-for-best-ux-design-bootcamps-and-how-to-choose-one-ux-design-bootcamp you should not get impressed with the 5-star reviews and ratings. My concern is what are the parameter to check this one is best option for me in learning UI/UX design.
Thanks

3
Hello this is Gulshan Negi
Well, I am a Software Developer. And I want to know that is Python the optimal programming language for incorporating artificial intelligence (AI) into web development projects, considering factors such as ease of implementation, extensive AI libraries and frameworks, compatibility with popular web development technologies, scalability, and the ability to handle complex AI algorithms and models effectively?
Can anyone give their suggestions on this?
Thanks   

4
Programming / Python Hangman Game Program Error
« on: May 09, 2023, 04:35:02 PM »
Hello this is Gulshan Negi
Well, I am writing a program for making Hangman Game in Python but it shows some error at the time of its execution.
Here is my source code:

Code: [Select]
import random
import time
import os


def play_again():
  question = 'Do You want to play again? y = yes, n = no \n'
  play_game = input(question)
  while play_game.lower() not in ['y', 'n']:
      play_game = input(question)

  if play_game.lower() == 'y':
      return True
  else:
      return False


def hangman(word):
  display = '_' * len(word)
  count = 0
  limit = 5
  letters = list(word)
  guessed = []
  while count < limit:
      guess = input(f'Hangman Word: {display} Enter your guess: \n').strip()
      while len(guess) == 0 or len(guess) > 1:
          print('Invalid input. Enter a single letter\n')
          guess = input(
              f'Hangman Word: {display} Enter your guess: \n').strip()

      if guess in guessed:
          print('Oops! You already tried that guess, try again!\n')
          continue

      if guess in letters:
          letters.remove(guess)
          index = word.find(guess)
          display = display[:index] + guess + display[index + 1:]

      else:
          guessed.append(guess)
          count += 1
          if count == 1:
              time.sleep(1)
              print('   _____ \n'
                    '  |      \n'
                    '  |      \n'
                    '  |      \n'
                    '  |      \n'
                    '  |      \n'
                    '  |      \n'
                    '__|__\n')
              print(f'Wrong guess: {limit - count} guesses remaining\n')

          elif count == 2:
              time.sleep(1)
              print('   _____ \n'
                    '  |     | \n'
                    '  |     | \n'
                    '  |      \n'
                    '  |      \n'
                    '  |      \n'
                    '  |      \n'
                    '__|__\n')
              print(f'Wrong guess: {limit - count} guesses remaining\n')

          elif count == 3:
              time.sleep(1)
              print('   _____ \n'
                    '  |     | \n'
                    '  |     | \n'
                    '  |     | \n'
                    '  |      \n'
                    '  |      \n'
                    '  |      \n'
                    '__|__\n')
              print(f'Wrong guess: {limit - count} guesses remaining\n')

          elif count == 4:
              time.sleep(1)
              print('   _____ \n'
                    '  |     | \n'
                    '  |     | \n'
                    '  |     | \n'
                    '  |     O \n'
                    '  |      \n'
                    '  |      \n'
                    '__|__\n')
              print(f'Wrong guess: {limit - count} guesses remaining\n')

          elif count == 5:
              time.sleep(1)
              print('   _____ \n'
                    '  |     | \n'
                    '  |     | \n'
                    '  |     | \n'
                    '  |     O \n'
                    '  |    /|\ \n'
                    '  |    / \ \n'
                    '__|__\n')
              print('Wrong guess. You\'ve been hanged!!!\n')
              print(f'The word was: {word}')

      if display == word:
          print(f'Congrats! You have guessed the word \'{word}\' correctly!')
          break


def play_hangman():
   print('\nWelcome to Hangman\n')
   name = input('Enter your name: ')
   print(f'Hello {name}! Best of Luck!')
   time.sleep(1)
   print('The game is about to start!\nLet\'s play Hangman!')
   time.sleep(1)
   os.system('cls' if os.name == 'nt' else 'clear')

   words_to_guess = [
       'january', 'border', 'image', 'film', 'promise', 'kids',
       'lungs', 'doll', 'rhyme', 'damage', 'plants', 'hello', 'world'
   ]
   play = True
   while play:
       word = random.choice(words_to_guess)
       hangman(word)
       play = play_again()

   print('Thanks For Playing! We expect you back again!')
   exit()


if __name__ == '__main__':
  play_hangman()

Well, I also checked and took a reference from https://hackr.io/blog/python-projects, can anyone give their suggestions on this?
Thanks

5
I am Gulshan Negi
I am a Software Developer. I'm hoping to develop mobile games, but I'm not sure which programming language would be the most suitable for this platform. I understand that mobile devices have specific constraints and requirements, and I want to make sure that the language I choose is optimized for mobile game development. Can anyone recommend a programming language that's well-suited for creating mobile games, and explain why it's a good fit?
Thanks

6
Programming / Suggestion Req for Best SQL Courses
« on: February 27, 2023, 06:54:10 AM »
Hello this is Gulshan Negi
I am a software developer. I've recently started learning SQL, and I'm currently reading SQL for Dummies and The Art of SQL book to learn SQL. Should I take any SQL courses to enhance my skills, Is taking a SQL course really helpful? If yes, then which course should I take?
I need some suggestions on this.
Thanks

Pages: [1]